52 lines
1.7 KiB
C#
52 lines
1.7 KiB
C#
using SqlSugar;
|
|
|
|
namespace Seyounth.Hyosung.Data.Entities;
|
|
|
|
[SugarTable("product_scanned_yarn", "扫描到的纱线信息")]
|
|
public class ScannedYarnEntity
|
|
{
|
|
[SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "ID")]
|
|
public int Id { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "条码", Length = 255)]
|
|
public string QrCode { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "纱线代码", Length = 20)]
|
|
public string ScanCode { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "Lot")]
|
|
public int Lot { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "DEN_FILA", IsNullable = true)]
|
|
public string? DenFila { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "DTEX_FILA", IsNullable = true)]
|
|
public string? DtexFila { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "生产班次")]
|
|
public string WorkShift { get; set; } = "NoData";
|
|
|
|
[SugarColumn(ColumnDescription = "生产机台")]
|
|
public string Machine { get; set; } = "NoData";
|
|
|
|
[SugarColumn(ColumnDescription = "所属品类信息")]
|
|
public int VarietyId { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "扫描时间")]
|
|
public DateTime ScanTime { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "生产时间")]
|
|
public string ProduceTime { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "是否完成码垛")]
|
|
public bool IsFinished { get; set; } = false;
|
|
|
|
[SugarColumn(ColumnDescription = "所属托盘Id", IsNullable = true)]
|
|
public int? TrayId { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "码垛时间", IsNullable = true)]
|
|
public DateTime? StackTime { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "入库时间", IsNullable = true)]
|
|
public DateTime? StorageTime { get; set; }
|
|
} |