| | |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | |
| | | /* |
| | | * @author : 刘文奇 |
| | | * @date : 2024/4/23下午6:30:44 |
| | | * @desc : 库位表 |
| | | */ |
| | | namespace Admin.NET.Core |
| | | { |
| | | /// <summary> |
| | |
| | | [Comment("库位表")] |
| | | public class WmsPlace : DEntityBase |
| | | { |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位编码 |
| | | /// </summary> |
| | |
| | | [MaxLength(50)] |
| | | public string PlaceCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 库位对应AGV编码 |
| | | /// </summary> |
| | | [Comment("库位对应AGV编码")] |
| | | [MaxLength(50)] |
| | | public string AgvCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 库位状态;数据字典 |
| | | /// 库位名称 |
| | | /// </summary> |
| | | [Comment("库位状态")] |
| | | [Comment("库位名称")] |
| | | [Required] |
| | | public PlaceStatus PlaceStatus { get; set; } |
| | | [MaxLength(50)] |
| | | public string PlaceName { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位别名 |
| | | /// </summary> |
| | | [Comment("库位别名")] |
| | | [MaxLength(50)] |
| | | public string PlaceAlias { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位类型 |
| | | /// </summary> |
| | | [Comment("库位类型")] |
| | | [Required] |
| | | |
| | | public PlaceTypeEnum PlaceType { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位类型名称 |
| | | /// </summary> |
| | | [Comment("库位类型名称")] |
| | | [Required] |
| | | [MaxLength(50)] |
| | | public string PlaceTypeName { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 存放单位 |
| | | /// </summary> |
| | | [Comment("存放单位")] |
| | | [MaxLength(50)] |
| | | public string StockUnit { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位属性 |
| | | /// </summary> |
| | | [Comment("库位属性")] |
| | | [Required] |
| | | |
| | | public PlaceStatusEnum PlaceStatus { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 是否堆垛机库位 |
| | | /// </summary> |
| | | [Comment("是否堆垛机库位")] |
| | | |
| | | public bool? IsSrmPlace { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 堆垛机库位号 |
| | | /// </summary> |
| | | [Comment("堆垛机库位号")] |
| | | [MaxLength(50)] |
| | | public string SrmPlaceNo { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 是否RGV库位 |
| | | /// </summary> |
| | | [Comment("是否RGV库位")] |
| | | |
| | | public bool? IsRgvPlace { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// RGV库位号 |
| | | /// </summary> |
| | | [Comment("RGV库位号")] |
| | | [MaxLength(50)] |
| | | public string RgvPlaceNo { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 是否AGV库位 |
| | | /// </summary> |
| | | [Comment("是否AGV库位")] |
| | | |
| | | public bool? IsAgvPlace { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// AGV库位号 |
| | | /// </summary> |
| | | [Comment("AGV库位号")] |
| | | [MaxLength(50)] |
| | | public string AgvPlaceNo { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 是否输送线库位 |
| | | /// </summary> |
| | | [Comment("是否输送线库位")] |
| | | |
| | | public bool? IsTransPlace { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 输送线库位号 |
| | | /// </summary> |
| | | [Comment("输送线库位号")] |
| | | [MaxLength(50)] |
| | | public string TransPlaceNo { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 是否激活与任务调度 |
| | | /// </summary> |
| | | [Comment("是否激活与任务调度")] |
| | | |
| | | public bool? IsActivateWCS { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库存环境 |
| | | /// </summary> |
| | | [Comment("库存环境")] |
| | | [MaxLength(255)] |
| | | public string Environment { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库区编号 |
| | | /// </summary> |
| | | [Comment("库区编号")] |
| | | [Required] |
| | | [MaxLength(50)] |
| | | public string AreaCode { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 所在库区 |
| | | /// </summary> |
| | | [Comment("所在库区")] |
| | | [Required] |
| | | |
| | | public long AreaId { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库区名称 |
| | | /// </summary> |
| | | [Comment("库区名称")] |
| | | [Required] |
| | | [MaxLength(50)] |
| | | public string AreaName { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 检验码 |
| | | /// </summary> |
| | | [Comment("检验码")] |
| | | [MaxLength(255)] |
| | | public string VerificationCode { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 排 |
| | | /// </summary> |
| | | [Comment("排")] |
| | | [Required] |
| | | |
| | | public int RowNo { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 列 |
| | | /// </summary> |
| | | [Comment("列")] |
| | | [Required] |
| | | |
| | | public int ColumnNo { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 层 |
| | | /// </summary> |
| | | [Comment("层")] |
| | | [Required] |
| | | |
| | | public int LayerNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 进深号 |
| | | /// </summary> |
| | | [Comment("进深号")] |
| | | [Required] |
| | | public int DeepcellNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 巷道 |
| | | /// </summary> |
| | | [Comment("巷道")] |
| | | [Required] |
| | | public int Aisle { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 线号 |
| | | /// </summary> |
| | | [Comment("线号")] |
| | | [Required] |
| | | public int Line { get; set; } |
| | | public int LaneNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否锁定;数据字典 |
| | | /// </summary> |
| | | [Comment("是否锁定")] |
| | | [Required] |
| | | public YesOrNot Islock { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否空托;数据字典 |
| | | /// </summary> |
| | | [Comment("是否空托")] |
| | | public YesOrNot EmptyContainer { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 堆垛机内部的位置 |
| | | /// </summary> |
| | | [Comment("堆垛机内部的位置")] |
| | | [MaxLength(50)] |
| | | public string PositionnoForSrm { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 库位X坐标 |
| | | /// </summary> |
| | | [Comment("库位X坐标")] |
| | | [MaxLength(50)] |
| | | [MaxLength(255)] |
| | | public string Xzb { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位Y坐标 |
| | | /// </summary> |
| | | [Comment("库位Y坐标")] |
| | | [MaxLength(50)] |
| | | [MaxLength(255)] |
| | | public string Yzb { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位Z坐标 |
| | | /// </summary> |
| | | [Comment("库位Z坐标")] |
| | | [MaxLength(50)] |
| | | [MaxLength(255)] |
| | | public string Zzb { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位长度 |
| | | /// </summary> |
| | | [Comment("库位长度")] |
| | | [Required] |
| | | [Column("Length", TypeName = "decimal(10,3)")] |
| | | public decimal Length { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位宽度 |
| | | /// </summary> |
| | | [Comment("库位宽度")] |
| | | [Required] |
| | | [Column("Width", TypeName = "decimal(10,3)")] |
| | | public decimal Width { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库位高度 |
| | | /// </summary> |
| | | [Comment("库位高度")] |
| | | [Required] |
| | | [Column("Height", TypeName = "decimal(10,3)")] |
| | | public decimal Height { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 最大承重 |
| | | /// </summary> |
| | | [Comment("最大承重")] |
| | | [Required] |
| | | [Column("MaxWeight", TypeName = "decimal(10,3)")] |
| | | public decimal MaxWeight { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 库位高度属性;数据字典 |
| | | /// </summary> |
| | | [Comment("库位高度属性")] |
| | | public Heightlevel HeightLevel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 优先级 |
| | | /// 入库顺序 |
| | | /// </summary> |
| | | [Comment("优先级")] |
| | | public int Priority { get; set; } |
| | | [Comment("入库顺序")] |
| | | [Required] |
| | | |
| | | public int InSequence { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 逻辑区域 |
| | | /// 出库顺序 |
| | | /// </summary> |
| | | [Comment("逻辑区域")] |
| | | public int LogicalName { get; set; } |
| | | [Comment("出库顺序")] |
| | | [Required] |
| | | |
| | | public int OutSequence { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 库区表 |
| | | /// 是否虚拟 |
| | | /// </summary> |
| | | public WmsArea WmsArea { get; set; } |
| | | [Comment("是否虚拟")] |
| | | [Required] |
| | | |
| | | public bool IsVirtually { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 是否禁用 |
| | | /// </summary> |
| | | [Comment("是否禁用")] |
| | | [Required] |
| | | |
| | | public bool IsDisabled { get; set; } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |