using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; /* * @author : 刘文奇 * @date : 2024/4/23下午5:35:14 * @desc : 库位表 */ namespace Admin.NET.Core { /// /// 库位表 /// [Table("wms_place")] [Comment("库位表")] public class WmsPlace : DEntityBase { /// /// 库位编码 /// [Comment("库位编码")] [Required] [MaxLength(50)] public string PlaceCode { get; set; } /// /// 库位名称 /// [Comment("库位名称")] [Required] [MaxLength(255)] public string PlaceName { get; set; } /// /// 库位别名 /// [Comment("库位别名")] [MaxLength(255)] public string PlaceNickName { get; set; } /// /// 库位状态 /// [Comment("库位状态")] [Required] public int PlaceStatus { get; set; } /// /// 所在库区 /// [Comment("所在库区")] [Required] public long AreaId { get; set; } /// /// 库区名称 /// [Comment("库区名称")] [MaxLength(255)] public string WarehouseName { get; set; } /// /// 检验码 /// [Comment("检验码")] [MaxLength(255)] public string VerificationCode { get; set; } /// /// 排 /// [Comment("排")] [Required] public int RowNo { get; set; } /// /// 列 /// [Comment("列")] [Required] public int ColumnNo { get; set; } /// /// 层 /// [Comment("层")] [Required] public int LayerNo { get; set; } /// /// 巷道 /// [Comment("巷道")] [Required] public int LaneNo { get; set; } /// /// 堆垛机库位号 /// [Comment("堆垛机库位号")] [MaxLength(50)] public string SrmNo { get; set; } /// /// 库位X坐标 /// [Comment("库位X坐标")] [MaxLength(50)] public string Xzb { get; set; } /// /// 库位Y坐标 /// [Comment("库位Y坐标")] [MaxLength(50)] public string Yzb { get; set; } /// /// 库位Z坐标 /// [Comment("库位Z坐标")] [MaxLength(50)] public string Zzb { get; set; } /// /// 库位长度 /// [Comment("库位长度")] [Required] [Column("Length", TypeName = "decimal(18,2)")] public decimal Length { get; set; } /// /// 库位宽度 /// [Comment("库位宽度")] [Required] [Column("Width", TypeName = "decimal(18,2)")] public decimal Width { get; set; } /// /// 库位高度 /// [Comment("库位高度")] [Required] [Column("Height", TypeName = "decimal(18,2)")] public decimal Height { get; set; } /// /// 最大承重 /// [Comment("最大承重")] [Required] [Column("MaxWeight", TypeName = "decimal(18,2)")] public decimal MaxWeight { get; set; } /// /// 库位高度属性 /// [Comment("库位高度属性")] [Required] public int HeightLevel { get; set; } /// /// 优先级 /// [Comment("优先级")] [Required] public int Priority { get; set; } /// /// 逻辑区域 /// [Comment("逻辑区域")] [Required] public int LogicalName { get; set; } } }