using System; using System.Collections.Generic; using SqlSugar; using WMS.BZModels; namespace WMS.BZModels.Models.KLHC { [Tenant("klhc")] [SugarTable(nameof(WCS_CacheLineLoc))] public class WCS_CacheLineLoc : BaseEntityModel { /// /// ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "ID")] public int Id { get; set; } /// /// 对应的设备号 /// [SugarColumn(IsNullable = false, ColumnDescription = "对应的设备号")] public short LocationNo { get; set; } /// /// 坐标号 /// [SugarColumn(IsNullable = false, ColumnDescription = "坐标号")] public string XYNo { get; set; } /// /// 物料号 /// [SugarColumn(IsNullable = false, ColumnDescription = "物料号")] public string MatCode { get; set; } /// /// 任务号 /// [SugarColumn(IsNullable = true, ColumnDescription = "任务号")] public int TaskId { get; set; } /// /// 任务信息 /// [Navigate(NavigateType.OneToOne, nameof(TaskId))] public WCS_TaskInfo Task { get; set; } /// /// 码垛缓存线主表ID /// [SugarColumn(IsNullable = false, ColumnDescription = "码垛缓存线主表ID")] public int CacheLineId { get; set; } /// /// 是否有货 /// [SugarColumn(IsNullable = false, ColumnDescription = "是否有货")] public bool InStock { get; set; } /// /// 是否空置 /// [SugarColumn(IsNullable = false, ColumnDescription = "是否有货")] public bool IsEmpty { get; set; } /// /// 创建时间 /// [SugarColumn(IsNullable = true, ColumnDescription = "创建时间")] public DateTime AddTime { get; set; } /// /// 编辑时间 /// [SugarColumn(IsNullable = true, ColumnDescription = "编辑时间")] public DateTime EditTime { get; set; } /// /// 正反面 1正面 2反面 /// [SugarColumn(IsNullable = true, ColumnDescription = "正反面")] public int SideNum { get; set; } /// /// 超时时间-小时 /// [SugarColumn(IsNullable = true)] public int TimeOut { get; set; } } }