ScheduleResultOpMaster.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. namespace Admin.NET.Plugin.AiDOP.Production;
  2. /// <summary>
  3. /// 排产结果(ScheduleResultOpMaster)
  4. /// </summary>
  5. [SugarTable("ScheduleResultOpMaster", "排产结果")]
  6. public class ScheduleResultOpMaster
  7. {
  8. /// <summary>主键</summary>
  9. [SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = true)]
  10. public long RecID { get; set; }
  11. [SugarColumn(ColumnName = "Domain", Length = 8, IsNullable = true)]
  12. public string? Domain { get; set; }
  13. [SugarColumn(ColumnName = "WorkOrd", Length = 64, IsNullable = true)]
  14. public string? WorkOrd { get; set; }
  15. [SugarColumn(ColumnName = "WorkCtr", Length = 8, IsNullable = true)]
  16. public string? WorkCtr { get; set; }
  17. [SugarColumn(ColumnName = "Line", Length = 8, IsNullable = true)]
  18. public string? Line { get; set; }
  19. [SugarColumn(ColumnName = "ItemNum", Length = 30, IsNullable = true)]
  20. public string? ItemNum { get; set; }
  21. [SugarColumn(ColumnName = "Op", Length = 6, IsNullable = true)]
  22. public string? Op { get; set; }
  23. [SugarColumn(ColumnName = "OpDescr", Length = 256, IsNullable = true)]
  24. public string? OpDescr { get; set; }
  25. [SugarColumn(ColumnName = "WorkDate", IsNullable = true)]
  26. public DateTime? WorkDate { get; set; }
  27. [SugarColumn(ColumnName = "WorkQty", IsNullable = true)]
  28. public decimal? WorkQty { get; set; }
  29. [SugarColumn(ColumnName = "StartDosage", IsNullable = true)]
  30. public decimal? StartDosage { get; set; }
  31. [SugarColumn(ColumnName = "WorkDosage", IsNullable = true)]
  32. public decimal? WorkDosage { get; set; }
  33. [SugarColumn(ColumnName = "SetupDosage", IsNullable = true)]
  34. public decimal? SetupDosage { get; set; }
  35. [SugarColumn(ColumnName = "WorkSort", IsNullable = true)]
  36. public int? WorkSort { get; set; }
  37. [SugarColumn(ColumnName = "SetupStartTime", IsNullable = true)]
  38. public DateTime? SetupStartTime { get; set; }
  39. [SugarColumn(ColumnName = "SetupEndTime", IsNullable = true)]
  40. public DateTime? SetupEndTime { get; set; }
  41. [SugarColumn(ColumnName = "SetupTime", IsNullable = true)]
  42. public decimal? SetupTime { get; set; }
  43. [SugarColumn(ColumnName = "WorkStartTime", IsNullable = true)]
  44. public DateTime? WorkStartTime { get; set; }
  45. [SugarColumn(ColumnName = "WorkEndTime", IsNullable = true)]
  46. public DateTime? WorkEndTime { get; set; }
  47. [SugarColumn(ColumnName = "WorkActivateTime", IsNullable = true)]
  48. public decimal? WorkActivateTime { get; set; }
  49. [SugarColumn(ColumnName = "DeviceAllocationCount", IsNullable = true)]
  50. public int? DeviceAllocationCount { get; set; }
  51. [SugarColumn(ColumnName = "InternalEquipmentCode", Length = 64, IsNullable = true)]
  52. public string? InternalEquipmentCode { get; set; }
  53. [SugarColumn(ColumnName = "OccupyInternalEquipmentCode", Length = 64, IsNullable = true)]
  54. public string? OccupyInternalEquipmentCode { get; set; }
  55. [SugarColumn(ColumnName = "MoldTypeCode", Length = 64, IsNullable = true)]
  56. public string? MoldTypeCode { get; set; }
  57. [SugarColumn(ColumnName = "MoldAllocationCount", IsNullable = true)]
  58. public int? MoldAllocationCount { get; set; }
  59. [SugarColumn(ColumnName = "AssignedEmployeeID", Length = 128, IsNullable = true)]
  60. public string? AssignedEmployeeID { get; set; }
  61. [SugarColumn(ColumnName = "SkillNo", Length = 64, IsNullable = true)]
  62. public string? SkillNo { get; set; }
  63. [SugarColumn(ColumnName = "AssignedPersonnelCount", IsNullable = true)]
  64. public int? AssignedPersonnelCount { get; set; }
  65. [SugarColumn(ColumnName = "Remark", Length = 512, IsNullable = true)]
  66. public string? Remark { get; set; }
  67. [SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
  68. public DateTime? CreateTime { get; set; }
  69. /// <summary>租户ID(多租户隔离)</summary>
  70. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  71. public long? TenantId { get; set; }
  72. }