2025-03-16 03:17:36 +08:00
|
|
|
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 = "托盘唯一号")]
|
2025-03-20 19:32:49 +08:00
|
|
|
public string TrayCode { get; set; }
|
2025-03-16 03:17:36 +08:00
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "所属的品类信息")]
|
|
|
|
public int VarietyId { get; set; }
|
|
|
|
|
2025-03-20 19:32:49 +08:00
|
|
|
[SugarColumn(ColumnDescription = "垛高",IsNullable =true)]
|
2025-03-16 03:17:36 +08:00
|
|
|
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; }
|
|
|
|
}
|