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
|
{
|
/// <summary>
|
/// 容器信息表
|
/// </summary>
|
[Table("wms_container")]
|
[Comment("容器信息表")]
|
public class WmsContainer : DEntityBase
|
{
|
|
|
/// <summary>
|
/// 编号
|
/// </summary>
|
[Comment("编号")]
|
[Required]
|
[MaxLength(50)]
|
public string ContainerCode { get; set; }
|
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
[Comment("名称")]
|
[Required]
|
[MaxLength(50)]
|
public string ContainerName { get; set; }
|
|
|
/// <summary>
|
/// 类型ID
|
/// </summary>
|
[Comment("类型ID")]
|
[Required]
|
|
public long ContainerTypeId { get; set; }
|
|
|
/// <summary>
|
/// 类型名称
|
/// </summary>
|
[Comment("类型名称")]
|
[Required]
|
[MaxLength(50)]
|
public string ContainerTypeName { get; set; }
|
|
|
/// <summary>
|
/// 容器关系ID
|
/// </summary>
|
[Comment("容器关系ID")]
|
|
public long? PackagingId { get; set; }
|
|
|
/// <summary>
|
/// 长度
|
/// </summary>
|
[Comment("长度")]
|
|
[Column("SpecLength", TypeName = "decimal(10,3)")]
|
public decimal? SpecLength { get; set; }
|
|
|
/// <summary>
|
/// 宽度
|
/// </summary>
|
[Comment("宽度")]
|
|
[Column("SpecWidth", TypeName = "decimal(10,3)")]
|
public decimal? SpecWidth { get; set; }
|
|
|
/// <summary>
|
/// 高度
|
/// </summary>
|
[Comment("高度")]
|
|
[Column("SpecHeight", TypeName = "decimal(10,3)")]
|
public decimal? SpecHeight { get; set; }
|
|
|
/// <summary>
|
/// 限长
|
/// </summary>
|
[Comment("限长")]
|
|
[Column("LimitLength", TypeName = "decimal(10,3)")]
|
public decimal? LimitLength { get; set; }
|
|
|
/// <summary>
|
/// 限宽
|
/// </summary>
|
[Comment("限宽")]
|
|
[Column("LimitWidth", TypeName = "decimal(10,3)")]
|
public decimal? LimitWidth { get; set; }
|
|
|
/// <summary>
|
/// 限高
|
/// </summary>
|
[Comment("限高")]
|
|
[Column("LimitHeight", TypeName = "decimal(10,3)")]
|
public decimal? LimitHeight { get; set; }
|
|
|
/// <summary>
|
/// 载重上限
|
/// </summary>
|
[Comment("载重上限")]
|
|
[Column("MaxWeight", TypeName = "decimal(10,3)")]
|
public decimal? MaxWeight { get; set; }
|
|
|
/// <summary>
|
/// 父容器名称
|
/// </summary>
|
[Comment("父容器名称")]
|
[MaxLength(255)]
|
public string ParentContainerName { get; set; }
|
|
|
/// <summary>
|
/// 父容器Id
|
/// </summary>
|
[Comment("父容器Id")]
|
|
public long? ParentContainerId { get; set; }
|
|
|
/// <summary>
|
/// 是否虚拟
|
/// </summary>
|
[Comment("是否虚拟")]
|
[Required]
|
|
public int IsVirtually { get; set; }
|
|
|
/// <summary>
|
/// 是否禁用
|
/// </summary>
|
[Comment("是否禁用")]
|
[Required]
|
|
public bool IsDisabled { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
}
|