using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.DB.Models; namespace WIDESEAWCS_Model.Models { [SugarTable(nameof(Dt_LocationInfo), "货位信息")] public class Dt_LocationInfo : BaseEntity { [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "区域主键")] public int AreaId { get; set; } [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "货位编号")] public string LocationCode { get; set; } [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "货位名称")] public string LocationName { get; set; } [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "巷道编号")] public string RoadwayNo { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "货位行")] public int Row { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "货位列")] public int Column { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "货位层")] public int Layer { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "货位深度")] public int Depth { get; set; } //[SugarColumn(IsNullable = false, ColumnDescription = "左侧/右侧")] //public int LocationSide { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "货位类型")] public int LocationType { get; set; } [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "货位状态")] public int LocationStatus { get; set; } [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "禁用状态")] public int EnableStatus { get; set; } [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")] public string Remark { get; set; } } }