LinkagePlan.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>计划联动看板</summary>
  3. [SugarTable("LinkagePlan", "计划联动看板")]
  4. public class LinkagePlan
  5. {
  6. [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = false)]
  7. public long Id { get; set; }
  8. /// <summary>订单编号</summary>
  9. [SugarColumn(ColumnName = "bill_no", Length = 64, IsNullable = true)]
  10. public string? BillNo { get; set; }
  11. /// <summary>客户编码</summary>
  12. [SugarColumn(ColumnName = "custom_no", Length = 64, IsNullable = true)]
  13. public string? CustomNo { get; set; }
  14. /// <summary>订单类型</summary>
  15. [SugarColumn(ColumnName = "order_type", Length = 32, IsNullable = true)]
  16. public string? OrderType { get; set; }
  17. /// <summary>物料代码</summary>
  18. [SugarColumn(ColumnName = "item_number", Length = 64, IsNullable = true)]
  19. public string? ItemNumber { get; set; }
  20. /// <summary>物料名称</summary>
  21. [SugarColumn(ColumnName = "Descr", Length = 256, IsNullable = true)]
  22. public string? Descr { get; set; }
  23. /// <summary>规格型号</summary>
  24. [SugarColumn(ColumnName = "Descr1", Length = 256, IsNullable = true)]
  25. public string? Descr1 { get; set; }
  26. /// <summary>产品类型</summary>
  27. [SugarColumn(ColumnName = "ItemType", Length = 64, IsNullable = true)]
  28. public string? ItemType { get; set; }
  29. /// <summary>数量</summary>
  30. [SugarColumn(ColumnName = "qty", IsNullable = true)]
  31. public decimal? Qty { get; set; }
  32. /// <summary>生产通知</summary>
  33. [SugarColumn(ColumnName = "update_time", IsNullable = true)]
  34. public DateTime? UpdateTime { get; set; }
  35. /// <summary>合同交期</summary>
  36. [SugarColumn(ColumnName = "sys_capacity_date", IsNullable = true)]
  37. public DateTime? SysCapacityDate { get; set; }
  38. /// <summary>计划管控</summary>
  39. [SugarColumn(ColumnName = "type", Length = 32, IsNullable = true)]
  40. public string? Type { get; set; }
  41. /// <summary>Bom设计开始</summary>
  42. [SugarColumn(ColumnName = "bomstart", Length = 80, IsNullable = true)]
  43. public string? BomStart { get; set; }
  44. /// <summary>Bom设计结束</summary>
  45. [SugarColumn(ColumnName = "bomend", Length = 80, IsNullable = true)]
  46. public string? BomEnd { get; set; }
  47. /// <summary>工艺设计开始</summary>
  48. [SugarColumn(ColumnName = "linestart", Length = 80, IsNullable = true)]
  49. public string? LineStart { get; set; }
  50. /// <summary>工艺设计结束</summary>
  51. [SugarColumn(ColumnName = "lineend", Length = 80, IsNullable = true)]
  52. public string? LineEnd { get; set; }
  53. /// <summary>生产开始</summary>
  54. [SugarColumn(ColumnName = "productstart", Length = 80, IsNullable = true)]
  55. public string? ProductStart { get; set; }
  56. /// <summary>生产结束</summary>
  57. [SugarColumn(ColumnName = "productend", Length = 80, IsNullable = true)]
  58. public string? ProductEnd { get; set; }
  59. /// <summary>物料需求</summary>
  60. [SugarColumn(ColumnName = "needtime", Length = 80, IsNullable = true)]
  61. public string? NeedTime { get; set; }
  62. /// <summary>物料满足</summary>
  63. [SugarColumn(ColumnName = "sys_material_date", Length = 80, IsNullable = true)]
  64. public string? SysMaterialDate { get; set; }
  65. /// <summary>采购下单</summary>
  66. [SugarColumn(ColumnName = "cgneedtime", Length = 80, IsNullable = true)]
  67. public string? CgNeedTime { get; set; }
  68. /// <summary>采购到货</summary>
  69. [SugarColumn(ColumnName = "cgend", Length = 80, IsNullable = true)]
  70. public string? CgEnd { get; set; }
  71. /// <summary>备料开始</summary>
  72. [SugarColumn(ColumnName = "blstart", Length = 80, IsNullable = true)]
  73. public string? BlStart { get; set; }
  74. /// <summary>备料结束</summary>
  75. [SugarColumn(ColumnName = "blend", Length = 80, IsNullable = true)]
  76. public string? BlEnd { get; set; }
  77. /// <summary>报工开始</summary>
  78. [SugarColumn(ColumnName = "starttime", Length = 80, IsNullable = true)]
  79. public string? StartTime { get; set; }
  80. /// <summary>报工结束</summary>
  81. [SugarColumn(ColumnName = "endtime", Length = 80, IsNullable = true)]
  82. public string? EndTime { get; set; }
  83. /// <summary>IQC检验开始</summary>
  84. [SugarColumn(ColumnName = "ipqcjystart", Length = 80, IsNullable = true)]
  85. public string? IpqcJyStart { get; set; }
  86. /// <summary>IQC检验结束</summary>
  87. [SugarColumn(ColumnName = "ipqcjyend", Length = 80, IsNullable = true)]
  88. public string? IpqcJyEnd { get; set; }
  89. /// <summary>FQC检验开始</summary>
  90. [SugarColumn(ColumnName = "fqcjystart", Length = 80, IsNullable = true)]
  91. public string? FqcJyStart { get; set; }
  92. /// <summary>FQC检验结束</summary>
  93. [SugarColumn(ColumnName = "fqcjyend", Length = 80, IsNullable = true)]
  94. public string? FqcJyEnd { get; set; }
  95. /// <summary>入库开始</summary>
  96. [SugarColumn(ColumnName = "rkstart", Length = 80, IsNullable = true)]
  97. public string? RkStart { get; set; }
  98. /// <summary>入库结束</summary>
  99. [SugarColumn(ColumnName = "rkend", Length = 80, IsNullable = true)]
  100. public string? RkEnd { get; set; }
  101. /// <summary>发运开始</summary>
  102. [SugarColumn(ColumnName = "fystarttime", Length = 80, IsNullable = true)]
  103. public string? FyStartTime { get; set; }
  104. /// <summary>发运结束</summary>
  105. [SugarColumn(ColumnName = "fyendtime", Length = 80, IsNullable = true)]
  106. public string? FyEndTime { get; set; }
  107. /// <summary>排序</summary>
  108. [SugarColumn(ColumnName = "levelnum", IsNullable = true)]
  109. public int? LevelNum { get; set; }
  110. /// <summary>背景色</summary>
  111. [SugarColumn(ColumnName = "background", Length = 32, IsNullable = true)]
  112. public string? Background { get; set; }
  113. }