ReplenishmentWeekPlan.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. using Business.Domain;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Business.StructuredDB.Replenishment
  10. {
  11. /// <summary>
  12. /// 周生产计划
  13. /// </summary>
  14. public class ReplenishmentWeekPlan : BaseEntity
  15. {
  16. /// <summary>
  17. /// 排序编码(优先级)
  18. /// </summary>
  19. [Comment("排序编码(优先级)")]
  20. [Precision(18,5)]
  21. public decimal Priority { get; set; }
  22. /// <summary>
  23. /// 市场
  24. /// </summary>
  25. [StringLength(128)]
  26. [Comment("市场")]
  27. public string Area { get; set; }
  28. /// <summary>
  29. /// 开工日期
  30. /// </summary>
  31. [Comment("开工日期")]
  32. public DateTime PlanStartDate { get; set; }
  33. /// <summary>
  34. /// 开工日期星期
  35. /// </summary>
  36. [StringLength(128)]
  37. [Comment("开工日期星期")]
  38. public string Week { get; set; }
  39. /// <summary>
  40. /// 订单号
  41. /// </summary>
  42. [StringLength(128)]
  43. [Comment("订单号")]
  44. public string OrderNO { get; set; }
  45. /// <summary>
  46. /// 生产指令
  47. /// </summary>
  48. [StringLength(128)]
  49. [Comment("生产指令")]
  50. public string ProductionOrder { get; set; }
  51. /// <summary>
  52. /// SAP工单号
  53. /// </summary>
  54. [StringLength(128)]
  55. [Comment("SAP工单号")]
  56. public string SAPOrderNO { get; set; }
  57. /// <summary>
  58. /// 指令类型
  59. /// </summary>
  60. [StringLength(128)]
  61. [Comment("指令类型")]
  62. public string OrderType { get; set; }
  63. /// <summary>
  64. /// 生产批次
  65. /// </summary>
  66. [StringLength(128)]
  67. [Comment("生产批次")]
  68. public string ProductionBatch { get; set; }
  69. /// <summary>
  70. /// 生产状态
  71. /// </summary>
  72. [StringLength(128)]
  73. [Comment("生产状态")]
  74. public string ProductionStatus { get; set; }
  75. /// <summary>
  76. /// 产品线
  77. /// </summary>
  78. [StringLength(128)]
  79. [Comment("产品线")]
  80. public string ProdLine { get; set; }
  81. /// <summary>
  82. /// 产品系列
  83. /// </summary>
  84. [StringLength(128)]
  85. [Comment("产品系列")]
  86. public string ProdRange { get; set; }
  87. /// <summary>
  88. /// 车间线体(产线)
  89. /// </summary>
  90. [StringLength(128)]
  91. [Comment("车间线体(产线)")]
  92. public string Line { get; set; }
  93. /// <summary>
  94. /// 物料编码
  95. /// </summary>
  96. [StringLength(128)]
  97. [Comment("物料编码")]
  98. public string ItemNumber { get; set; }
  99. /// <summary>
  100. /// 规格型号
  101. /// </summary>
  102. [StringLength(128)]
  103. [Comment("规格型号")]
  104. public string Model { get; set; }
  105. /// <summary>
  106. /// 语种
  107. /// </summary>
  108. [StringLength(128)]
  109. [Comment("语种")]
  110. public string Languages { get; set; }
  111. /// <summary>
  112. /// 计划数量
  113. /// </summary>
  114. [Precision(18,5)]
  115. [Comment("计划数量")]
  116. public decimal Qty { get; set; }
  117. /// <summary>
  118. /// 物料情况
  119. /// </summary>
  120. [StringLength(128)]
  121. [Comment("物料情况")]
  122. public string ItemStatus { get; set; }
  123. /// <summary>
  124. /// 预计齐套时间
  125. /// </summary>
  126. [Precision(18, 5)]
  127. [Comment("预计齐套时间")]
  128. public DateTime PlanKittingDate { get; set; }
  129. /// <summary>
  130. /// 灭菌开始日期
  131. /// </summary>
  132. [Precision(18, 5)]
  133. [Comment("灭菌开始日期")]
  134. public DateTime SterilizationDate { get; set; }
  135. /// <summary>
  136. /// 成品入库日期
  137. /// </summary>
  138. [Precision(18, 5)]
  139. [Comment("成品入库日期")]
  140. public DateTime InStockDate { get; set; }
  141. /// <summary>
  142. /// 组装工时
  143. /// </summary>
  144. [Precision(18, 5)]
  145. [Comment("组装工时")]
  146. public decimal AssembleHours { get; set; }
  147. /// <summary>
  148. /// 热封工时
  149. /// </summary>
  150. [Precision(18, 5)]
  151. [Comment("热封工时")]
  152. public decimal HeatSealHours { get; set; }
  153. /// <summary>
  154. /// 包装工时
  155. /// </summary>
  156. [Precision(18, 5)]
  157. [Comment("包装工时")]
  158. public decimal PackageHours { get; set; }
  159. /// <summary>
  160. /// 总工时
  161. /// </summary>
  162. [Precision(18, 5)]
  163. [Comment("包装工时")]
  164. public decimal TotalHours { get; set; }
  165. }
  166. }