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
|
{
|
/// <summary>
|
/// 包装关系基础表
|
/// </summary>
|
[Table("wms_container_packaging")]
|
[Comment("包装关系基础表")]
|
public class WmsContainerPackaging : DEntityBase
|
{
|
|
|
/// <summary>
|
/// 容器类型ID
|
/// </summary>
|
[Comment("容器类型ID")]
|
[Required]
|
|
public long ContainerTypeId { get; set; }
|
|
|
/// <summary>
|
/// 容器类型名称
|
/// </summary>
|
[Comment("容器类型名称")]
|
[Required]
|
[MaxLength(255)]
|
public string ContainerTypeName { get; set; }
|
|
|
/// <summary>
|
/// 物料类型ID
|
/// </summary>
|
[Comment("物料类型ID")]
|
[Required]
|
|
public long MaterialTypeId { get; set; }
|
|
|
/// <summary>
|
/// 物料类型编号
|
/// </summary>
|
[Comment("物料类型编号")]
|
[Required]
|
[MaxLength(255)]
|
public string MaterialTypeCode { get; set; }
|
|
|
/// <summary>
|
/// 物料类型名称
|
/// </summary>
|
[Comment("物料类型名称")]
|
[Required]
|
[MaxLength(255)]
|
public string MaterialTypeName { get; set; }
|
|
|
/// <summary>
|
/// 物料容器容量
|
/// </summary>
|
[Comment("物料容器容量")]
|
|
[Column("BoxQty", TypeName = "decimal(10,3)")]
|
public decimal? BoxQty { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
}
|