payne
2024-04-23 52d3e2a6f892a4e9e3241c00eb9228588ebc4e7c
iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsMaterialCustomer.cs
@@ -4,72 +4,72 @@
/*
 * @author : 刘文奇
 * @date : 2024/4/23下午1:44:59
 * @desc : 物料客户关联表
 * @date : 2024/4/23下午4:29:28
 * @desc : 包装关系基础表
 */
namespace Admin.NET.Core
{
    /// <summary>
    /// 物料客户关联表
    /// 包装关系基础表
    /// </summary>
    [Table("wms_material_customer")]
    [Comment("物料客户关联表")]
    public class WmsMaterialCustomer : DEntityBase
    [Table("wms_container_packaging")]
    [Comment("包装关系基础表")]
    public class WmsContainerPackaging : DEntityBase
    {
        /// <summary>
        /// 物料ID
        /// 容器类型ID
        /// </summary>
        [Comment("物料ID")]
        [Comment("容器类型ID")]
        [Required]
        public long MaterialId { get; set; }
        public long ContainerTypeId { get; set; }
        /// <summary>
        /// 物料编号
        /// 容器类型名称
        /// </summary>
        [Comment("物料编号")]
        [Comment("容器类型名称")]
        [Required]
        [MaxLength(50)]
        public string MaterialNo { 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>
        /// 客户ID
        /// 物料类型编号
        /// </summary>
        [Comment("客户ID")]
        [Comment("物料类型编号")]
        [Required]
        public long CustId { get; set; }
        [MaxLength(255)]
        public string MaterialTypeCode { get; set; }
        /// <summary>
        /// 客户编号
        /// 物料类型名称
        /// </summary>
        [Comment("客户编号")]
        [Comment("物料类型名称")]
        [Required]
        [MaxLength(50)]
        public string CustCode { get; set; }
        [MaxLength(255)]
        public string MaterialTypeName { get; set; }
        /// <summary>
        /// 客户名称
        /// 物料容器容量
        /// </summary>
        [Comment("客户名称")]
        [Required]
        [MaxLength(50)]
        public string CustName { get; set; }
        [Comment("物料容器容量")]
        [Column("BoxQty", TypeName = "decimal(10,3)")]
        public decimal? BoxQty { get; set; }