PeriodSequenceDet.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. namespace Admin.NET.Plugin.AiDOP.Production;
  2. /// <summary>
  3. /// 工序间衔接(PeriodSequenceDet)
  4. /// </summary>
  5. [SugarTable("PeriodSequenceDet", "工序间衔接")]
  6. public class PeriodSequenceDet
  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 = "Site", Length = 8, IsNullable = true)]
  14. public string? Site { get; set; }
  15. [SugarColumn(ColumnName = "ItemNum", Length = 30, IsNullable = true)]
  16. public string? ItemNum { get; set; }
  17. [SugarColumn(ColumnName = "Line", Length = 8, IsNullable = true)]
  18. public string? Line { get; set; }
  19. [SugarColumn(ColumnName = "Op", Length = 6, IsNullable = true)]
  20. public string? Op { get; set; }
  21. [SugarColumn(ColumnName = "WorkCtr", Length = 8, IsNullable = true)]
  22. public string? WorkCtr { get; set; }
  23. [SugarColumn(ColumnName = "ProdDate", IsNullable = true)]
  24. public DateTime? ProdDate { get; set; }
  25. [SugarColumn(ColumnName = "PlanDate", IsNullable = true)]
  26. public DateTime? PlanDate { get; set; }
  27. [SugarColumn(ColumnName = "Period", Length = 8, IsNullable = true)]
  28. public string? Period { get; set; }
  29. [SugarColumn(ColumnName = "Sequence", IsNullable = true)]
  30. public int? Sequence { get; set; }
  31. [SugarColumn(ColumnName = "OrdQty", IsNullable = true)]
  32. public decimal? OrdQty { get; set; }
  33. [SugarColumn(ColumnName = "CompQty", IsNullable = true)]
  34. public decimal? CompQty { get; set; }
  35. [SugarColumn(ColumnName = "RejectQty", IsNullable = true)]
  36. public decimal? RejectQty { get; set; }
  37. [SugarColumn(ColumnName = "ScrapQty", IsNullable = true)]
  38. public decimal? ScrapQty { get; set; }
  39. [SugarColumn(ColumnName = "StartTime", IsNullable = true)]
  40. public DateTime? StartTime { get; set; }
  41. [SugarColumn(ColumnName = "EndTime", IsNullable = true)]
  42. public DateTime? EndTime { get; set; }
  43. [SugarColumn(ColumnName = "SetupTime", IsNullable = true)]
  44. public decimal? SetupTime { get; set; }
  45. [SugarColumn(ColumnName = "StdSetupTime", IsNullable = true)]
  46. public decimal? StdSetupTime { get; set; }
  47. [SugarColumn(ColumnName = "RunCrew", IsNullable = true)]
  48. public int? RunCrew { get; set; }
  49. [SugarColumn(ColumnName = "WorkOrds", Length = 64, IsNullable = true)]
  50. public string? WorkOrds { get; set; }
  51. [SugarColumn(ColumnName = "Status", Length = 32, IsNullable = true)]
  52. public string? Status { get; set; }
  53. [SugarColumn(ColumnName = "Employee", Length = 128, IsNullable = true)]
  54. public string? Employee { get; set; }
  55. [SugarColumn(ColumnName = "MoldNum", Length = 64, IsNullable = true)]
  56. public string? MoldNum { get; set; }
  57. [SugarColumn(ColumnName = "ProductRatio", IsNullable = true)]
  58. public decimal? ProductRatio { get; set; }
  59. [SugarColumn(ColumnName = "WholeRatio", IsNullable = true)]
  60. public decimal? WholeRatio { get; set; }
  61. [SugarColumn(ColumnName = "UDeci1", IsNullable = true)]
  62. public decimal? UDeci1 { get; set; }
  63. [SugarColumn(ColumnName = "UDeci2", IsNullable = true)]
  64. public decimal? UDeci2 { get; set; }
  65. [SugarColumn(ColumnName = "UChar1", Length = 64, IsNullable = true)]
  66. public string? UChar1 { get; set; }
  67. [SugarColumn(ColumnName = "UChar2", Length = 64, IsNullable = true)]
  68. public string? UChar2 { get; set; }
  69. [SugarColumn(ColumnName = "UDate1", IsNullable = true)]
  70. public DateTime? UDate1 { get; set; }
  71. [SugarColumn(ColumnName = "UDate2", IsNullable = true)]
  72. public DateTime? UDate2 { get; set; }
  73. [SugarColumn(ColumnName = "UInt1", IsNullable = true)]
  74. public int? UInt1 { get; set; }
  75. [SugarColumn(ColumnName = "UInt2", IsNullable = true)]
  76. public int? UInt2 { get; set; }
  77. [SugarColumn(ColumnName = "BusinessID", IsNullable = true)]
  78. public long? BusinessID { get; set; }
  79. [SugarColumn(ColumnName = "CreateUser", Length = 8, IsNullable = true)]
  80. public string? CreateUser { get; set; }
  81. [SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
  82. public DateTime? CreateTime { get; set; }
  83. [SugarColumn(ColumnName = "UpdateUser", Length = 8, IsNullable = true)]
  84. public string? UpdateUser { get; set; }
  85. [SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
  86. public DateTime? UpdateTime { get; set; }
  87. [SugarColumn(ColumnName = "IsActive", IsNullable = true)]
  88. public int? IsActive { get; set; }
  89. [SugarColumn(ColumnName = "IsConfirm", IsNullable = true)]
  90. public int? IsConfirm { get; set; }
  91. /// <summary>租户ID(多租户隔离)</summary>
  92. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  93. public long? TenantId { get; set; }
  94. }