| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- namespace Admin.NET.Plugin.AiDOP.WorkOrder;
- /// <summary>
- /// 工单物料明细(WorkOrdDetail)
- /// </summary>
- [SugarTable("WorkOrdDetail", "工单明细")]
- public class WorkOrdDetail
- {
- /// <summary>自增列</summary>
- [SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = true)]
- public long RecID { get; set; }
- /// <summary>工单流水号</summary>
- [SugarColumn(ColumnName = "WorkOrdMasterRecID", IsNullable = true)]
- public long? WorkOrdMasterRecID { get; set; }
- [SugarColumn(ColumnName = "Domain", Length = 8, IsNullable = true)]
- public string? Domain { get; set; }
- [SugarColumn(ColumnName = "WorkOrd", Length = 64, IsNullable = true)]
- public string? WorkOrd { get; set; }
- [SugarColumn(ColumnName = "LineNum", IsNullable = true)]
- public int? LineNum { get; set; }
- [SugarColumn(ColumnName = "ItemNum", Length = 30, IsNullable = true)]
- public string? ItemNum { get; set; }
- [SugarColumn(ColumnName = "Op", Length = 6, IsNullable = true)]
- public string? Op { get; set; }
- [SugarColumn(ColumnName = "Location", Length = 10, IsNullable = true)]
- public string? Location { get; set; }
- [SugarColumn(ColumnName = "Site", Length = 8, IsNullable = true)]
- public string? Site { get; set; }
- [SugarColumn(ColumnName = "Status", Length = 1, IsNullable = true)]
- public string? Status { get; set; }
- [SugarColumn(ColumnName = "Typed", Length = 1, IsNullable = true)]
- public string? Typed { get; set; }
- [SugarColumn(ColumnName = "QtyRequired", IsNullable = true)]
- public decimal? QtyRequired { get; set; }
- [SugarColumn(ColumnName = "QtyIssued", IsNullable = true)]
- public decimal? QtyIssued { get; set; }
- [SugarColumn(ColumnName = "QtyPicked", IsNullable = true)]
- public decimal? QtyPicked { get; set; }
- [SugarColumn(ColumnName = "QtyPosted", IsNullable = true)]
- public decimal? QtyPosted { get; set; }
- [SugarColumn(ColumnName = "QtyReturned", IsNullable = true)]
- public decimal? QtyReturned { get; set; }
- [SugarColumn(ColumnName = "QtyReject", IsNullable = true)]
- public decimal? QtyReject { get; set; }
- [SugarColumn(ColumnName = "UnitCost", IsNullable = true)]
- public decimal? UnitCost { get; set; }
- [SugarColumn(ColumnName = "StdCost", IsNullable = true)]
- public decimal? StdCost { get; set; }
- [SugarColumn(ColumnName = "Price", IsNullable = true)]
- public decimal? Price { get; set; }
- [SugarColumn(ColumnName = "UM", Length = 8, IsNullable = true)]
- public string? UM { get; set; }
- [SugarColumn(ColumnName = "LotSerial", Length = 25, IsNullable = true)]
- public string? LotSerial { get; set; }
- [SugarColumn(ColumnName = "Material", Length = 1, IsNullable = true)]
- public string? Material { get; set; }
- [SugarColumn(ColumnName = "IsMainMas", IsNullable = true)]
- public int? IsMainMas { get; set; }
- [SugarColumn(ColumnName = "ModelItem", Length = 64, IsNullable = true)]
- public string? ModelItem { get; set; }
- [SugarColumn(ColumnName = "Ufld1", Length = 64, IsNullable = true)]
- public string? Ufld1 { get; set; }
- [SugarColumn(ColumnName = "Ufld2", Length = 64, IsNullable = true)]
- public string? Ufld2 { get; set; }
- [SugarColumn(ColumnName = "BusinessID", IsNullable = true)]
- public long? BusinessID { get; set; }
- [SugarColumn(ColumnName = "CreateUser", Length = 8, IsNullable = true)]
- public string? CreateUser { get; set; }
- [SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
- public DateTime? CreateTime { get; set; }
- [SugarColumn(ColumnName = "UpdateUser", Length = 8, IsNullable = true)]
- public string? UpdateUser { get; set; }
- [SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
- public DateTime? UpdateTime { get; set; }
- [SugarColumn(ColumnName = "IsActive", IsNullable = true)]
- public int? IsActive { get; set; }
- [SugarColumn(ColumnName = "IsConfirm", IsNullable = true)]
- public int? IsConfirm { get; set; }
- [SugarColumn(ColumnName = "ERPfld1", Length = 128, IsNullable = true)]
- public string? ERPfld1 { get; set; }
- [SugarColumn(ColumnName = "ERPfld2", Length = 128, IsNullable = true)]
- public string? ERPfld2 { get; set; }
- /// <summary>租户ID(多租户隔离)</summary>
- [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
- public long? TenantId { get; set; }
- }
|