using SqlSugar; namespace Seyounth.Hyosung.Data.Entities; [SugarTable("product_tray", "生产托盘数据")] public class TrayEntity { [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } [SugarColumn(ColumnDescription = "托盘唯一号")] public string TrayCode { get; set; } [SugarColumn(ColumnDescription = "所属的品类信息")] public int VarietyId { get; set; } [SugarColumn(ColumnDescription = "垛高",IsNullable =true)] public int? StackHeight { get; set; } [SugarColumn(ColumnDescription = "是否为双号")] public bool IsEven { get; set; } [SugarColumn(ColumnDescription = "控制号 为空时说明尚未入库", IsNullable = true, IndexGroupNameList = ["idx_ControlNo_CreateTime"])] public int? ControlNo { get; set; } [SugarColumn(ColumnDescription = "生成时间", IndexGroupNameList = ["idx_ControlNo_CreateTime"])] public DateTime CreateTime { get; set; } [SugarColumn(ColumnDescription = "入库时间", IsNullable = true)] public DateTime? FinishTime { get; set; } [SugarColumn(IsNullable = true)] public string? Grade { get; set; } [SugarColumn(IsNullable = true)] public string? Type { get; set; } [SugarColumn(IsNullable = true)] public string? DenFila { get; set; } [SugarColumn(IsNullable = true)] public string? DtexFila { get; set; } [SugarColumn(IsNullable = true)] public int? Unit { get; set; } [SugarColumn(IsNullable = true)] public double NetWeight { get; set; } [SugarColumn(IsNullable = true)] public double GrossWeight { get; set; } [SugarColumn(IsNullable = true)] public int? AgvBinId { get; set; } }