payne
2024-04-23 52d3e2a6f892a4e9e3241c00eb9228588ebc4e7c
iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsMaterialCustomer.cs
@@ -4,89 +4,72 @@
/*
 * @author : 刘文奇
 * @date : 2024/4/23下午4:14:52
 * @desc : 替代品管理
 * @date : 2024/4/23下午4:29:28
 * @desc : 包装关系基础表
 */
namespace Admin.NET.Core
{
    /// <summary>
    /// 替代品管理
    /// 包装关系基础表
    /// </summary>
    [Table("wms_substitute_good")]
    [Comment("替代品管理")]
    public class WmsSubstituteGood : DEntityBase
    [Table("wms_container_packaging")]
    [Comment("包装关系基础表")]
    public class WmsContainerPackaging : DEntityBase
    {
        /// <summary>
        /// 替代编号
        /// 容器类型ID
        /// </summary>
        [Comment("替代编号")]
        [Comment("容器类型ID")]
        [Required]
        [MaxLength(50)]
        public string SubstituteCode { get; set; }
        public long ContainerTypeId { get; set; }
        /// <summary>
        /// 物料编号
        /// 容器类型名称
        /// </summary>
        [Comment("物料编号")]
        [Comment("容器类型名称")]
        [Required]
        [MaxLength(50)]
        public string MaterialCode { get; set; }
        [MaxLength(255)]
        public string ContainerTypeName { get; set; }
        /// <summary>
        /// 物料名称
        /// 物料类型ID
        /// </summary>
        [Comment("物料名称")]
        [Comment("物料类型ID")]
        [Required]
        [MaxLength(50)]
        public string MaterialName { get; set; }
        public long MaterialTypeId { get; set; }
        /// <summary>
        /// 替代品物料编号
        /// 物料类型编号
        /// </summary>
        [Comment("替代品物料编号")]
        [Comment("物料类型编号")]
        [Required]
        [MaxLength(50)]
        public string SubstituteMaterialCode { get; set; }
        [MaxLength(255)]
        public string MaterialTypeCode { get; set; }
        /// <summary>
        /// 替代品物料名称
        /// 物料类型名称
        /// </summary>
        [Comment("替代品物料名称")]
        [Comment("物料类型名称")]
        [Required]
        [MaxLength(50)]
        public string SubstituteMaterialName { get; set; }
        [MaxLength(255)]
        public string MaterialTypeName { get; set; }
        /// <summary>
        /// 替代次序
        /// 物料容器容量
        /// </summary>
        [Comment("替代次序")]
        [Required]
        [Comment("物料容器容量")]
        public int SubstituteIndex { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        [Comment("版本号")]
        [MaxLength(50)]
        public string VersionNO { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        [Comment("是否禁用")]
        [Required]
        public bool IsDisabled { get; set; }
        [Column("BoxQty", TypeName = "decimal(10,3)")]
        public decimal? BoxQty { get; set; }