ic_itemTest.cs 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. using Business.Core.Attributes;
  2. using Business.Model;
  3. using Microsoft.EntityFrameworkCore;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations;
  6. namespace Bussiness.Model.MES.IC
  7. {
  8. /// <summary>
  9. /// 物料详情
  10. /// </summary>
  11. [CollectionName("dopbase", "ic_itemTest")]
  12. [Comment("物料详情")]
  13. public class ic_itemTest : BaseEntity
  14. {
  15. public ic_itemTest(long Id) : base(Id)
  16. {
  17. }
  18. /// <summary>
  19. /// 物料编码
  20. /// </summary>
  21. [StringLength(80)]
  22. [Comment("物料编码")]
  23. public string? number { get; set; }
  24. /// <summary>
  25. /// 物料名称
  26. /// </summary>
  27. [StringLength(80)]
  28. [Comment("物料名称")]
  29. public string? name { get; set; }
  30. /// <summary>
  31. /// 规格型号
  32. /// </summary>
  33. [StringLength(200)]
  34. [Comment("规格型号")]
  35. public string? model { get; set; }
  36. /// <summary>
  37. /// 全名
  38. /// </summary>
  39. [StringLength(255)]
  40. [Comment("全名")]
  41. public string? full_name { get; set; }
  42. /// <summary>
  43. /// fms旧料号
  44. /// </summary>
  45. [StringLength(80)]
  46. [Comment("fms旧料号")]
  47. public string? fms_number { get; set; }
  48. /// <summary>
  49. /// erp旧料号
  50. /// </summary>
  51. [StringLength(80)]
  52. [Comment("erp旧料号")]
  53. public string? erp_oldnumber { get; set; }
  54. /// <summary>
  55. /// 图号
  56. /// </summary>
  57. [StringLength(80)]
  58. [Comment("图号")]
  59. public string? chart_number { get; set; }
  60. /// <summary>
  61. /// 版本号
  62. /// </summary>
  63. [StringLength(80)]
  64. [Comment("版本号")]
  65. public string? fversion { get; set; }
  66. /// <summary>
  67. /// 盒贴规格
  68. /// </summary>
  69. [StringLength(200)]
  70. [Comment("盒贴规格")]
  71. public string? box_model { get; set; }
  72. /// <summary>
  73. /// 物料属性
  74. /// </summary>
  75. [Comment("物料属性")]
  76. public int erp_cls { get; set; }
  77. /// <summary>
  78. /// 物料属性名称
  79. /// </summary>
  80. [StringLength(80)]
  81. [Comment("物料属性")]
  82. public string? erp_cls_name { get; set; }
  83. /// <summary>
  84. /// 单位
  85. /// </summary>
  86. [StringLength(80)]
  87. [Comment("单位")]
  88. public string? unit { get; set; }
  89. /// <summary>
  90. /// 物料等级
  91. /// </summary>
  92. [Comment("物料等级")]
  93. public long? item_level { get; set; }
  94. /// <summary>
  95. /// 环保等级
  96. /// </summary>
  97. [Comment("环保等级")]
  98. public long? hb_level { get; set; }
  99. /// <summary>
  100. /// 单位标准工时_小时
  101. /// </summary>
  102. [Precision(20, 8)]
  103. [Comment("单位标准工时_小时")]
  104. public decimal? standard_manhour { get; set; }
  105. /// <summary>
  106. /// 单位材料定额_元
  107. /// </summary>
  108. [Precision(20, 8)]
  109. [Comment("单位材料定额_元")]
  110. public decimal? unititem_amount { get; set; }
  111. /// <summary>
  112. /// 来源
  113. /// </summary>
  114. [StringLength(200)]
  115. [Comment("来源")]
  116. public string? source { get; set; }
  117. /// <summary>
  118. /// 是否为设备
  119. /// </summary>
  120. [Comment("是否为设备")]
  121. public int? is_equipment { get; set; }
  122. /// <summary>
  123. /// 单位包装数量
  124. /// </summary>
  125. [Precision(20, 8)]
  126. [Comment("单位包装数量")]
  127. public decimal? unit_qty { get; set; }
  128. /// <summary>
  129. /// 严格进行二维码数量校验
  130. /// </summary>
  131. [StringLength(80)]
  132. [Comment("严格进行二维码数量校验")]
  133. public string? check_bybarcode { get; set; }
  134. /// <summary>
  135. /// 是否关键件
  136. /// </summary>
  137. [Comment("是否关键件")]
  138. public int iskeyitem { get; set; }
  139. /// <summary>
  140. /// 毛重
  141. /// </summary>
  142. [Precision(20, 8)]
  143. [Comment("毛重")]
  144. public decimal? gross_weight { get; set; }
  145. /// <summary>
  146. /// 净重
  147. /// </summary>
  148. [Precision(20, 8)]
  149. [Comment("净重")]
  150. public decimal? net_weight { get; set; }
  151. /// <summary>
  152. /// 重量单位
  153. /// </summary>
  154. [StringLength(80)]
  155. [Comment("重量单位")]
  156. public string? maund { get; set; }
  157. /// <summary>
  158. /// 长度
  159. /// </summary>
  160. [Precision(20, 8)]
  161. [Comment("长度")]
  162. public decimal? length { get; set; }
  163. /// <summary>
  164. /// 长度单位
  165. /// </summary>
  166. [StringLength(80)]
  167. [Comment("长度单位")]
  168. public string? cubic_measure { get; set; }
  169. /// <summary>
  170. /// 宽度
  171. /// </summary>
  172. [Precision(20, 8)]
  173. [Comment("宽度")]
  174. public decimal? width { get; set; }
  175. /// <summary>
  176. /// 高度
  177. /// </summary>
  178. [Precision(20, 8)]
  179. [Comment("高度")]
  180. public decimal? height { get; set; }
  181. /// <summary>
  182. /// 体积
  183. /// </summary>
  184. [Precision(20, 8)]
  185. [Comment("体积")]
  186. public decimal? size { get; set; }
  187. /// <summary>
  188. /// 物料类别
  189. /// </summary>
  190. [Comment("物料类别")]
  191. public long? matatt { get; set; }
  192. /// <summary>
  193. /// 允许采购
  194. /// </summary>
  195. [Comment("允许采购")]
  196. public int allowpur { get; set; }
  197. /// <summary>
  198. /// 允许销售
  199. /// </summary>
  200. [Comment("允许销售")]
  201. public int allowsale { get; set; }
  202. /// <summary>
  203. /// 允许生产
  204. /// </summary>
  205. [Comment("允许生产")]
  206. public int allowmanu { get; set; }
  207. /// <summary>
  208. /// 允许委外
  209. /// </summary>
  210. [Comment("允许委外")]
  211. public int allowout { get; set; }
  212. /// <summary>
  213. /// 批号管理
  214. /// </summary>
  215. [Comment("批号管理")]
  216. public int allowbatch { get; set; }
  217. /// <summary>
  218. /// 序列号管理
  219. /// </summary>
  220. [Comment("序列号管理")]
  221. public int? allowserial { get; set; }
  222. /// <summary>
  223. /// 图片
  224. /// </summary>
  225. [StringLength(80)]
  226. [Comment("图片")]
  227. public string? photo { get; set; }
  228. /// <summary>
  229. /// 领料类型
  230. /// </summary>
  231. [Comment("领料类型")]
  232. public long? picktype { get; set; }
  233. /// <summary>
  234. /// 出库类型
  235. /// </summary>
  236. [Comment("出库类型")]
  237. public long? output_type_id { get; set; }
  238. /// <summary>
  239. /// 启用预警
  240. /// </summary>
  241. [Comment("启用预警")]
  242. public int? enable_warning { get; set; }
  243. }
  244. }