payne
2024-04-25 bf915c71f7ab3fcd9a7f81ed18f3a10c68d50dc0
iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsMaterialCustomer.cs
@@ -4,27 +4,27 @@
/*
 * @author : 刘文奇
 * @date : 2024/4/23下午4:14:52
 * @desc : 替代品管理
 * @date : 2024/4/24上午10:48:23
 * @desc : 物料客户关联表
 */
namespace Admin.NET.Core
{
    /// <summary>
    /// 替代品管理
    /// 物料客户关联表
    /// </summary>
    [Table("wms_substitute_good")]
    [Comment("替代品管理")]
    public class WmsSubstituteGood : DEntityBase
    [Table("wms_material_customer")]
    [Comment("物料客户关联表")]
    public class WmsMaterialCustomer : DEntityBase
    {
        /// <summary>
        /// 替代编号
        /// 物料ID
        /// </summary>
        [Comment("替代编号")]
        [Comment("物料ID")]
        [Required]
        [MaxLength(50)]
        public string SubstituteCode { get; set; }
        public long MaterialId { get; set; }
        /// <summary>
@@ -46,47 +46,38 @@
        /// <summary>
        /// 替代品物料编号
        /// 客户ID
        /// </summary>
        [Comment("替代品物料编号")]
        [Comment("客户ID")]
        [Required]
        public long CustId { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        [Comment("客户编号")]
        [Required]
        [MaxLength(50)]
        public string SubstituteMaterialCode { get; set; }
        public string CustCode { get; set; }
        /// <summary>
        /// 替代品物料名称
        /// 客户英文名称
        /// </summary>
        [Comment("替代品物料名称")]
        [Comment("客户英文名称")]
        [MaxLength(255)]
        public string CustEnglishName { get; set; }
        /// <summary>
        /// 客户中文名称
        /// </summary>
        [Comment("客户中文名称")]
        [Required]
        [MaxLength(50)]
        public string SubstituteMaterialName { get; set; }
        /// <summary>
        /// 替代次序
        /// </summary>
        [Comment("替代次序")]
        [Required]
        public int SubstituteIndex { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        [Comment("版本号")]
        [MaxLength(50)]
        public string VersionNO { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        [Comment("是否禁用")]
        [Required]
        public bool IsDisabled { get; set; }
        [MaxLength(255)]
        public string CustChinaName { get; set; }