in_kd_bom.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. using Business.Core.Attributes;
  2. using Business.Core.Utilities;
  3. using Microsoft.EntityFrameworkCore;
  4. using System.ComponentModel.DataAnnotations;
  5. using Volo.Abp.Domain.Entities;
  6. namespace Business.Model.Ext
  7. {
  8. /// <summary>
  9. /// 物料清单
  10. /// </summary>
  11. [CollectionName("dopbase", "in_kd_bom")]
  12. [Comment("物料清单")]
  13. public class in_kd_bom : Entity<long>
  14. {
  15. [Key]
  16. public override long Id
  17. {
  18. get
  19. {
  20. if (Id == 0)
  21. return new SnowFlake().NextId();
  22. return Id;
  23. }
  24. }
  25. /// <summary>
  26. /// 使用组织
  27. /// </summary>
  28. [StringLength(80)]
  29. [Comment("使用组织")]
  30. public string? FUseOrgId_Name { get; set; }
  31. /// <summary>
  32. /// BOM版本
  33. /// </summary>
  34. [StringLength(80)]
  35. [Comment("BOM版本")]
  36. public string? FNumber { get; set; }
  37. /// <summary>
  38. /// BOM简称
  39. /// </summary>
  40. [StringLength(10)]
  41. [Comment("BOM简称")]
  42. public string? FName_2052 { get; set; }
  43. /// <summary>
  44. /// BOM分类
  45. /// </summary>
  46. [StringLength(80)]
  47. [Comment("BOM分类")]
  48. public string? FBOMCATEGORY { get; set; }
  49. /// <summary>
  50. /// 父项物料编码
  51. /// </summary>
  52. [StringLength(80)]
  53. [Comment("父项物料编码")]
  54. public string? FMATERIALID_Name { get; set; }
  55. /// <summary>
  56. /// 物料名称
  57. /// </summary>
  58. [StringLength(80)]
  59. [Comment("物料名称")]
  60. public string? FITEMNAME { get; set; }
  61. /// <summary>
  62. /// 规格型号
  63. /// </summary>
  64. [StringLength(80)]
  65. [Comment("规格型号")]
  66. public string? FITEMMODEL { get; set; }
  67. /// <summary>
  68. /// 数据状态
  69. /// </summary>
  70. [StringLength(10)]
  71. [Comment("数据状态")]
  72. public string? FITEMPPROPERTY { get; set; }
  73. /// <summary>
  74. /// 项次
  75. /// </summary>
  76. [Comment("项次")]
  77. public int? FReplaceGroup { get; set; }
  78. /// <summary>
  79. /// 替代优先级
  80. /// </summary>
  81. [Comment("替代优先级")]
  82. public int? FReplacePriority { get; set; }
  83. /// <summary>
  84. /// 替代方案编码
  85. /// </summary>
  86. [Comment("80")]
  87. [StringLength(255)]
  88. public string? FSubstitutionId_Name { get; set; }
  89. /// <summary>
  90. /// 子项物料编码
  91. /// </summary>
  92. [Comment("子项物料编码")]
  93. [StringLength(80)]
  94. public string? FMATERIALIDCHILD_Name { get; set; }
  95. /// <summary>
  96. /// 子项物料名称
  97. /// </summary>
  98. [StringLength(80)]
  99. [Comment("子项物料名称")]
  100. public string? FCHILDITEMNAME { get; set; }
  101. /// <summary>
  102. /// 子项规格型号
  103. /// </summary>
  104. [Comment("子项规格型号")]
  105. [StringLength(80)]
  106. public string? FCHILDITEMMODEL { get; set; }
  107. /// <summary>
  108. /// 供应类型
  109. /// </summary>
  110. [Comment("供应类型")]
  111. [StringLength(1)]
  112. public string? FSupplyType { get; set; }
  113. /// <summary>
  114. /// 子项单位
  115. /// </summary>
  116. [Comment("子项单位")]
  117. [StringLength(10)]
  118. public string? FCHILDUNITID_Name { get; set; }
  119. /// <summary>
  120. /// 供应组织
  121. /// </summary>
  122. [StringLength(80)]
  123. [Comment("供应组织")]
  124. public string? FChildSupplyOrgId_Name { get; set; }
  125. /// <summary>
  126. /// 用量:分子
  127. [Comment("用量:分子")]
  128. [Precision(23, 10)]
  129. public decimal? FNUMERATOR { get; set; }
  130. /// <summary>
  131. /// 用量:分母
  132. /// </summary>
  133. [Comment("用量:分母")]
  134. [Precision(23, 10)]
  135. public decimal? FDENOMINATOR { get; set; }
  136. /// <summary>
  137. /// 作业
  138. /// </summary>
  139. [Comment("作业")]
  140. [StringLength(80)]
  141. public string? FPROCESSID_Name { get; set; }
  142. /// <summary>
  143. /// 替代策略
  144. /// </summary>
  145. [StringLength(80)]
  146. [Comment("替代策略")]
  147. public string? FReplacePolicy { get; set; }
  148. /// <summary>
  149. /// 替代方式
  150. /// </summary>
  151. [Comment("替代方式")]
  152. [StringLength(80)]
  153. public string? FReplaceType { get; set; }
  154. /// <summary>
  155. /// 替代主料
  156. /// </summary>
  157. [Comment("替代主料")]
  158. [StringLength(1)]
  159. public string? FIskeyItem { get; set; }
  160. /// <summary>
  161. /// 替代方案名称
  162. /// </summary>
  163. [Comment("替代方案名称")]
  164. [StringLength(80)]
  165. public string? FSubstitutionName { get; set; }
  166. /// <summary>
  167. /// 子项物料描述
  168. /// </summary>
  169. [StringLength(255)]
  170. [Comment("子项物料描述")]
  171. public string? F_ZXWLMS { get; set; }
  172. /// <summary>
  173. /// 子项物料品牌
  174. /// </summary>
  175. [Comment("子项物料品牌")]
  176. [StringLength(255)]
  177. public string? F_ZXWLPP { get; set; }
  178. }
  179. }