namespace Admin.NET.Plugin.AiDOP.WorkOrder;
///
/// 工单物料明细(WorkOrdDetail)
///
[SugarTable("WorkOrdDetail", "工单明细")]
public class WorkOrdDetail
{
/// 自增列
[SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = true)]
public long RecID { get; set; }
/// 工单流水号
[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; }
/// 租户ID(多租户隔离)
[SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
public long? TenantId { get; set; }
}