ReplenishmentMonthPlan.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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 ReplenishmentMonthPlan : BaseEntity
  15. {
  16. /// <summary>
  17. /// 市场
  18. /// </summary>
  19. [StringLength(128)]
  20. [Comment("市场")]
  21. public string Area { get; set; }
  22. /// <summary>
  23. /// 产品线
  24. /// </summary>
  25. [StringLength(128)]
  26. [Comment("产品线")]
  27. public string ProdLine { get; set; }
  28. /// <summary>
  29. /// 产品系列
  30. /// </summary>
  31. [StringLength(128)]
  32. [Comment("产品系列")]
  33. public string ProdRange { get; set; }
  34. /// <summary>
  35. /// 车间线体(产线)
  36. /// </summary>
  37. [StringLength(128)]
  38. [Comment("车间线体(产线) ")]
  39. public string Line { get; set; }
  40. /// <summary>
  41. /// 物料编码
  42. /// </summary>
  43. [StringLength(128)]
  44. [Comment("物料编码")]
  45. public string ItemNumber { get; set; }
  46. /// <summary>
  47. /// 规格型号
  48. /// </summary>
  49. [StringLength(128)]
  50. [Comment("规格型号")]
  51. public string Model { get; set; }
  52. /// <summary>
  53. /// 生命周期
  54. /// </summary>
  55. [StringLength(128)]
  56. [Comment("产品线")]
  57. public string LifeCycle { get; set; }
  58. /// <summary>
  59. /// 语种
  60. /// </summary>
  61. [StringLength(128)]
  62. [Comment("语种")]
  63. public string Languages { get; set; }
  64. /// <summary>
  65. /// 计划年月
  66. /// </summary>
  67. [StringLength(7)]
  68. [Comment("计划年月")]
  69. public string PlanMonth { get; set; }
  70. /// <summary>
  71. /// 计划发货数量
  72. /// </summary>
  73. [Precision(18, 5)]
  74. [Comment("计划发货数量")]
  75. public decimal PlanShipQty { get; set; }
  76. /// <summary>
  77. /// 实际发货数量
  78. /// </summary>
  79. [Precision(18, 5)]
  80. [Comment("实际发货数量")]
  81. public decimal ActualShipQty { get; set; }
  82. /// <summary>
  83. /// 8001库存(灭菌完成检验合格转入的仓库)
  84. /// </summary>
  85. [Precision(18, 5)]
  86. [Comment("8001库存(灭菌完成检验合格转入的仓库)")]
  87. public decimal Inventory8001 { get; set; }
  88. /// <summary>
  89. /// 8000库存(委外灭菌仓)
  90. /// </summary>
  91. [Precision(18, 5)]
  92. [Comment("8000库存(委外灭菌仓)")]
  93. public decimal Inventory8000 { get; set; }
  94. /// <summary>
  95. /// 5008库存(成品线边仓)
  96. /// </summary>
  97. [Precision(18, 5)]
  98. [Comment("5008库存(成品线边仓)")]
  99. public decimal Inventory5008 { get; set; }
  100. /// <summary>
  101. /// 灭菌中数量
  102. /// </summary>
  103. [Precision(18, scale: 5)]
  104. [Comment("灭菌中数量")]
  105. public decimal DuringSterilizationQty { get; set; }
  106. /// <summary>
  107. /// 在制数量
  108. /// </summary>
  109. [Precision(18, 5)]
  110. [Comment("在制数量")]
  111. public decimal InProductionQty { get; set; }
  112. /// <summary>
  113. /// 计划生产数量
  114. /// </summary>
  115. [Precision(18, 5)]
  116. [Comment("计划生产数量")]
  117. public decimal PlanProductQty { get; set; }
  118. /// <summary>
  119. /// 实际生产数量
  120. /// </summary>
  121. [Precision(18, 5)]
  122. [Comment("实际生产数量")]
  123. public decimal ActualProductQty { get; set; }
  124. /// <summary>
  125. /// 期初库存
  126. /// </summary>
  127. [Precision(18, 5)]
  128. [Comment("期初库存")]
  129. public decimal StartStockQty { get; set; }
  130. /// <summary>
  131. /// 期末库存
  132. /// </summary>
  133. [Precision(18, 5)]
  134. [Comment("期末库存")]
  135. public decimal EndStockQty { get; set; }
  136. /// <summary>
  137. /// 经济批量
  138. /// </summary>
  139. [Precision(18, 5)]
  140. [Comment("经济批量")]
  141. public decimal EconomicLotQty { get; set; }
  142. /// <summary>
  143. /// 排序编码
  144. /// </summary>
  145. [Comment("排序编码")]
  146. public int OrderNum { get; set; }
  147. }
  148. }