using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
/*
* @author : 刘文奇
* @date : 2024/4/23下午4:29:28
* @desc : 容器关系基础表
*/
namespace Admin.NET.Core
{
///
/// 容器关系基础表
///
[Table("wms_container_packaging")]
[Comment("容器关系基础表")]
public class WmsContainerPackaging : DEntityBase
{
///
/// 容器类型ID
///
[Comment("容器类型ID")]
[Required]
public long ContainerTypeId { get; set; }
///
/// 容器类型名称
///
[Comment("容器类型名称")]
[Required]
[MaxLength(255)]
public string ContainerTypeName { get; set; }
///
/// 物料类型ID
///
[Comment("物料类型ID")]
[Required]
public long MaterialTypeId { get; set; }
///
/// 物料类型编号
///
[Comment("物料类型编号")]
[Required]
[MaxLength(255)]
public string MaterialTypeCode { get; set; }
///
/// 物料类型名称
///
[Comment("物料类型名称")]
[Required]
[MaxLength(255)]
public string MaterialTypeName { get; set; }
///
/// 物料容器容量
///
[Comment("物料容器容量")]
[Column("BoxQty", TypeName = "decimal(10,3)")]
public decimal? BoxQty { get; set; }
}
}