using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.DB.Models; namespace WIDESEAWCS_Model.Models { /// /// 库存表(货位信息) /// [SugarTable(nameof(Dt_Inventory), "库存表")] public class Dt_Inventory : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 货位id /// [SugarColumn(Length = 510, ColumnDescription = "货位id")] public string? location_id { get; set; } /// /// 库区/区域id /// [SugarColumn(Length = 510, ColumnDescription = "库区/区域id")] public string? location_areaid { get; set; } /// /// 货位状态 /// [SugarColumn(Length = 510, ColumnDescription = "货位状态")] public string? location_state { get; set; } /// /// 行 /// [SugarColumn(IsNullable = true, ColumnDescription = "行")] public int? location_line { get; set; } /// /// 列 /// [SugarColumn(IsNullable = true, ColumnDescription = "列")] public int? location_column { get; set; } /// /// 层 /// [SugarColumn(IsNullable = true, ColumnDescription = "层")] public int? location_layer { get; set; } /// /// 是否被锁定 /// [SugarColumn(IsNullable = true, ColumnDescription = "是否被锁定")] public bool? location_islocked { get; set; } /// /// 备用字段1 /// [SugarColumn(IsNullable = true, Length = 255, ColumnDataType = "nvarchar", ColumnDescription = "备用字段1")] public string? location_bak_1 { get; set; } /// /// 备用字段2 /// [SugarColumn(IsNullable = true, Length = 255, ColumnDataType = "nvarchar", ColumnDescription = "备用字段2")] public string? location_bak_2 { get; set; } /// /// 备用字段3 /// [SugarColumn(IsNullable = true, Length = 255, ColumnDataType = "nvarchar", ColumnDescription = "备用字段3")] public string? location_bak_3 { get; set; } /// /// 货位深度 /// [SugarColumn(IsNullable = true, ColumnDescription = "货位深度")] public int? location_deep { get; set; } } }