using Admin.NET.Application;
|
using Admin.NET.Core;
|
|
/*
|
* @author : 刘文奇
|
* @date : 2024/5/10下午1:42:36
|
* @desc : 库位表
|
*/
|
namespace Admin.NET.Application.Entity
|
{
|
/// <summary>
|
/// 库位表
|
/// </summary>
|
[SugarTable("test_place", "测试库位表")]
|
public class TestPlace : EntityBase
|
{
|
|
|
/// <summary>
|
/// 库位编码
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "PlaceCode", ColumnDescription = "库位编码", Length = 50)]
|
|
public string PlaceCode { get; set; }
|
|
|
/// <summary>
|
/// 库位名称
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "PlaceName", ColumnDescription = "库位名称", Length = 50)]
|
|
public string PlaceName { get; set; }
|
|
|
/// <summary>
|
/// 库位别名
|
/// </summary>
|
[SugarColumn(ColumnName = "PlaceAlias", ColumnDescription = "库位别名", Length = 50)]
|
|
public string? PlaceAlias { get; set; }
|
|
|
/// <summary>
|
/// 库位类型
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "PlaceType", ColumnDescription = "库位类型")]
|
public PlaceTypeEnum PlaceType { get; set; }
|
|
|
/// <summary>
|
/// 库位类型名称
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "PlaceTypeName", ColumnDescription = "库位类型名称", Length = 50)]
|
|
public string PlaceTypeName { get; set; }
|
|
|
/// <summary>
|
/// 存放单位
|
/// </summary>
|
[SugarColumn(ColumnName = "StockUnit", ColumnDescription = "存放单位", Length = 50)]
|
|
public string? StockUnit { get; set; }
|
|
|
/// <summary>
|
/// 库位属性
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "PlaceStatus", ColumnDescription = "库位属性")]
|
public PlaceStatusEnum PlaceStatus { get; set; }
|
|
|
/// <summary>
|
/// 是否激活与任务调度
|
/// </summary>
|
|
[SugarColumn(ColumnName = "IsActivateWCS", ColumnDescription = "是否激活与任务调度")]
|
public bool? IsActivateWCS { get; set; }
|
|
|
/// <summary>
|
/// 库存环境
|
/// </summary>
|
[SugarColumn(ColumnName = "Environment", ColumnDescription = "库存环境", Length = 255)]
|
|
public string? Environment { get; set; }
|
|
|
/// <summary>
|
/// 库区编号
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "AreaCode", ColumnDescription = "库区编号", Length = 50)]
|
|
public string AreaCode { get; set; }
|
|
|
/// <summary>
|
/// 所在库区
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "AreaId", ColumnDescription = "所在库区")]
|
public long AreaId { get; set; }
|
|
|
/// <summary>
|
/// 库区名称
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "AreaName", ColumnDescription = "库区名称", Length = 50)]
|
|
public string AreaName { get; set; }
|
|
|
/// <summary>
|
/// 检验码
|
/// </summary>
|
[SugarColumn(ColumnName = "VerificationCode", ColumnDescription = "检验码", Length = 255)]
|
|
public string? VerificationCode { get; set; }
|
|
|
/// <summary>
|
/// 排
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "RowNo", ColumnDescription = "排")]
|
public int RowNo { get; set; }
|
|
|
/// <summary>
|
/// 列
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "ColumnNo", ColumnDescription = "列")]
|
public int ColumnNo { get; set; }
|
|
|
/// <summary>
|
/// 层
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "LayerNo", ColumnDescription = "层")]
|
public int LayerNo { get; set; }
|
|
|
/// <summary>
|
/// 巷道
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "LaneNo", ColumnDescription = "巷道")]
|
public int LaneNo { get; set; }
|
|
|
/// <summary>
|
/// 库位X坐标
|
/// </summary>
|
[SugarColumn(ColumnName = "Xzb", ColumnDescription = "库位X坐标", Length = 255)]
|
|
public string? Xzb { get; set; }
|
|
|
/// <summary>
|
/// 库位Y坐标
|
/// </summary>
|
[SugarColumn(ColumnName = "Yzb", ColumnDescription = "库位Y坐标", Length = 255)]
|
|
public string? Yzb { get; set; }
|
|
|
/// <summary>
|
/// 库位Z坐标
|
/// </summary>
|
[SugarColumn(ColumnName = "Zzb", ColumnDescription = "库位Z坐标", Length = 255)]
|
|
public string? Zzb { get; set; }
|
|
|
/// <summary>
|
/// 库位长度
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "Length", ColumnDescription = "库位长度", Length = 10, DecimalDigits = 3)]
|
public decimal Length { get; set; }
|
|
|
/// <summary>
|
/// 库位宽度
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "Width", ColumnDescription = "库位宽度", Length = 10, DecimalDigits = 3)]
|
public decimal Width { get; set; }
|
|
|
/// <summary>
|
/// 库位高度
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "Height", ColumnDescription = "库位高度", Length = 10, DecimalDigits = 3)]
|
public decimal Height { get; set; }
|
|
|
/// <summary>
|
/// 最大承重
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "MaxWeight", ColumnDescription = "最大承重", Length = 10, DecimalDigits = 3)]
|
public decimal MaxWeight { get; set; }
|
|
|
/// <summary>
|
/// 上架顺序
|
/// </summary>
|
|
[SugarColumn(ColumnName = "InSequence", ColumnDescription = "上架顺序")]
|
public int? InSequence { get; set; }
|
|
|
/// <summary>
|
/// 下架顺序
|
/// </summary>
|
|
[SugarColumn(ColumnName = "OutSequence", ColumnDescription = "下架顺序")]
|
public int? OutSequence { get; set; }
|
|
|
/// <summary>
|
/// 是否虚拟
|
/// </summary>
|
|
[SugarColumn(ColumnName = "IsVirtually", ColumnDescription = "是否虚拟")]
|
public bool? IsVirtually { get; set; }
|
|
|
/// <summary>
|
/// 是否禁用
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "IsDisabled", ColumnDescription = "是否禁用")]
|
public bool IsDisabled { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
}
|