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_ContainerInfo), "容器信息")] public class Dt_ContainerInfo : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 请求id,幂等uuid32位 /// [SugarColumn(Length = 100, ColumnDescription = "请求id,幂等uuid32位")] public string RequestId { get; set; } /// /// 容器类型 /// [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "容器类型",DefaultValue = "RACK")] public string ContainerType { get; set; } /// /// 容器模型编码 /// //[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "容器模型编码")] //public string ContainerModelCode { get; set; } /// /// 容器编号 /// [SugarColumn(Length = 100, ColumnDescription = "容器编号")] public string ContainerCode { get; set; } /// /// 容器入场角度 /// //[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "容器入场角度")] //public string EnterOrientation { get; set; } /// /// 容器当前对应位置 /// //[SugarColumn(Length = 100, ColumnDescription = "容器当前对应位置")] //public string Position { get; set; } /// /// 是否新增增容器 /// //[SugarColumn(ColumnDescription = "是否新增增容器", DefaultValue = "0")] //public bool IsNew { get; set; } /// /// 容器校验码 /// //[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "容器校验码")] //public string ContainerValidationCode { get; set; } /// /// 配置容器默认校验码 /// //[SugarColumn(ColumnDescription = "配置容器默认校验码", IsNullable = true, DefaultValue = "0")] //public bool WithDefaultValidationCode { get; set; } // 下方是容器出场的相关字段 /// /// 容器出场位置 /// //[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "容器出场位置")] //public string EndPosition { get; set; } /// /// 容器出场后是否删除 /// //[SugarColumn(ColumnDescription = "容器出场后是否删除", IsNullable = true, DefaultValue = "0")] //public bool isDelete { get; set; } /// /// 容器的空满状态,空:EMPTY 满:FULL /// //[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "容器的空满状态")] //public string emptyStatus { get; set; } /// /// 容器的空满状态,空:EMPTY 满:FULL /// //[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "更新原因")] //public string reason { get; set; } } }