in_kd_bom.cs 5.3 KB

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