namespace Admin.NET.Plugin.AiDOP.Production;
///
/// 排产结果(ScheduleResultOpMaster)
///
[SugarTable("ScheduleResultOpMaster", "排产结果")]
public class ScheduleResultOpMaster
{
/// 主键
[SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = true)]
public long RecID { 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 = "WorkCtr", Length = 8, IsNullable = true)]
public string? WorkCtr { get; set; }
[SugarColumn(ColumnName = "Line", Length = 8, IsNullable = true)]
public string? Line { 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 = "OpDescr", Length = 256, IsNullable = true)]
public string? OpDescr { get; set; }
[SugarColumn(ColumnName = "WorkDate", IsNullable = true)]
public DateTime? WorkDate { get; set; }
[SugarColumn(ColumnName = "WorkQty", IsNullable = true)]
public decimal? WorkQty { get; set; }
[SugarColumn(ColumnName = "StartDosage", IsNullable = true)]
public decimal? StartDosage { get; set; }
[SugarColumn(ColumnName = "WorkDosage", IsNullable = true)]
public decimal? WorkDosage { get; set; }
[SugarColumn(ColumnName = "SetupDosage", IsNullable = true)]
public decimal? SetupDosage { get; set; }
[SugarColumn(ColumnName = "WorkSort", IsNullable = true)]
public int? WorkSort { get; set; }
[SugarColumn(ColumnName = "SetupStartTime", IsNullable = true)]
public DateTime? SetupStartTime { get; set; }
[SugarColumn(ColumnName = "SetupEndTime", IsNullable = true)]
public DateTime? SetupEndTime { get; set; }
[SugarColumn(ColumnName = "SetupTime", IsNullable = true)]
public decimal? SetupTime { get; set; }
[SugarColumn(ColumnName = "WorkStartTime", IsNullable = true)]
public DateTime? WorkStartTime { get; set; }
[SugarColumn(ColumnName = "WorkEndTime", IsNullable = true)]
public DateTime? WorkEndTime { get; set; }
[SugarColumn(ColumnName = "WorkActivateTime", IsNullable = true)]
public decimal? WorkActivateTime { get; set; }
[SugarColumn(ColumnName = "DeviceAllocationCount", IsNullable = true)]
public int? DeviceAllocationCount { get; set; }
[SugarColumn(ColumnName = "InternalEquipmentCode", Length = 64, IsNullable = true)]
public string? InternalEquipmentCode { get; set; }
[SugarColumn(ColumnName = "OccupyInternalEquipmentCode", Length = 64, IsNullable = true)]
public string? OccupyInternalEquipmentCode { get; set; }
[SugarColumn(ColumnName = "MoldTypeCode", Length = 64, IsNullable = true)]
public string? MoldTypeCode { get; set; }
[SugarColumn(ColumnName = "MoldAllocationCount", IsNullable = true)]
public int? MoldAllocationCount { get; set; }
[SugarColumn(ColumnName = "AssignedEmployeeID", Length = 128, IsNullable = true)]
public string? AssignedEmployeeID { get; set; }
[SugarColumn(ColumnName = "SkillNo", Length = 64, IsNullable = true)]
public string? SkillNo { get; set; }
[SugarColumn(ColumnName = "AssignedPersonnelCount", IsNullable = true)]
public int? AssignedPersonnelCount { get; set; }
[SugarColumn(ColumnName = "Remark", Length = 512, IsNullable = true)]
public string? Remark { get; set; }
[SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
public DateTime? CreateTime { get; set; }
/// 租户ID(多租户隔离)
[SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
public long? TenantId { get; set; }
}