using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
/*
* @author : 您的名字
* @date : 2024/4/23下午6:42:15
* @desc : 容器信息表
*/
namespace Admin.NET.Core
{
///
/// 容器信息表
///
[Table("wms_container")]
[Comment("容器信息表")]
public class WmsContainer : DEntityBase
{
///
/// 编号
///
[Comment("编号")]
[Required]
[MaxLength(50)]
public string ContainerCode { get; set; }
///
/// 名称
///
[Comment("名称")]
[Required]
[MaxLength(50)]
public string ContainerName { get; set; }
///
/// 类型ID
///
[Comment("类型ID")]
[Required]
public long ContainerTypeId { get; set; }
///
/// 类型名称
///
[Comment("类型名称")]
[Required]
[MaxLength(50)]
public string ContainerTypeName { get; set; }
///
/// 容器关系ID
///
[Comment("容器关系ID")]
public long? PackagingId { get; set; }
///
/// 长度
///
[Comment("长度")]
[Column("SpecLength", TypeName = "decimal(10,3)")]
public decimal? SpecLength { get; set; }
///
/// 宽度
///
[Comment("宽度")]
[Column("SpecWidth", TypeName = "decimal(10,3)")]
public decimal? SpecWidth { get; set; }
///
/// 高度
///
[Comment("高度")]
[Column("SpecHeight", TypeName = "decimal(10,3)")]
public decimal? SpecHeight { get; set; }
///
/// 限长
///
[Comment("限长")]
[Column("LimitLength", TypeName = "decimal(10,3)")]
public decimal? LimitLength { get; set; }
///
/// 限宽
///
[Comment("限宽")]
[Column("LimitWidth", TypeName = "decimal(10,3)")]
public decimal? LimitWidth { get; set; }
///
/// 限高
///
[Comment("限高")]
[Column("LimitHeight", TypeName = "decimal(10,3)")]
public decimal? LimitHeight { get; set; }
///
/// 载重上限
///
[Comment("载重上限")]
[Column("MaxWeight", TypeName = "decimal(10,3)")]
public decimal? MaxWeight { get; set; }
///
/// 父容器名称
///
[Comment("父容器名称")]
[MaxLength(255)]
public string ParentContainerName { get; set; }
///
/// 父容器Id
///
[Comment("父容器Id")]
public long? ParentContainerId { get; set; }
///
/// 是否虚拟
///
[Comment("是否虚拟")]
[Required]
public int IsVirtually { get; set; }
///
/// 是否禁用
///
[Comment("是否禁用")]
[Required]
public bool IsDisabled { get; set; }
}
}