fjBaseMater.cs 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace wms.sqlsugar.model.fj
  6. {
  7. [Tenant("fj")]
  8. [SugarTable("base_mater", "物料基础信息表")]
  9. public class fjBaseMater : BaseModel
  10. {
  11. /// <summary>
  12. /// 物料编码
  13. /// </summary>
  14. [SugarColumn(ColumnName = "code", ColumnDataType = "nvarchar", Length = 50)]
  15. public string Code { get; set; }
  16. /// <summary>
  17. /// 物料名称
  18. /// </summary>
  19. [SugarColumn(ColumnName = "name", ColumnDataType = "nvarchar", Length = 200)]
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// 物料短描述
  23. /// </summary>
  24. [SugarColumn(ColumnName = "short_desc", ColumnDataType = "nvarchar", Length = 100,IsNullable = true)]
  25. public string ShortDesc { get; set; }
  26. /// <summary>
  27. /// 物料长描述
  28. /// </summary>
  29. [SugarColumn(ColumnName = "full_desc", ColumnDataType = "nvarchar", Length = 500, IsNullable = true)]
  30. public string FullDesc { get; set; }
  31. /// <summary>
  32. /// 物料补充描述
  33. /// </summary>
  34. [SugarColumn(ColumnName = "ext_desc", ColumnDataType = "nvarchar", Length = 500, IsNullable = true)]
  35. public string MatExtDesc { get; set; }
  36. /// <summary>
  37. /// 物料英文名
  38. /// </summary>
  39. [SugarColumn(ColumnName = "en_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  40. public string MatEnName { get; set; }
  41. /// <summary>
  42. /// 物料组Id
  43. /// </summary>
  44. [SugarColumn(ColumnName = "mater_group_id")]
  45. public long MaterGroupId { get; set; }
  46. /// <summary>
  47. /// 叶类代码
  48. /// </summary>
  49. [SugarColumn(ColumnName = "leaf_type_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  50. public string LeafTypeCode { get; set; }
  51. /// <summary>
  52. /// 叶类名称
  53. /// </summary>
  54. [SugarColumn(ColumnName = "leaf_type_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  55. public string LeafTypeName { get; set; }
  56. /// <summary>
  57. /// 中类代码
  58. /// </summary>
  59. [SugarColumn(ColumnName = "mid_type_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  60. public string MidTypeCode { get; set; }
  61. /// <summary>
  62. /// 中类名称
  63. /// </summary>
  64. [SugarColumn(ColumnName = "mid_type_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  65. public string MidTypeName { get; set; }
  66. /// <summary>
  67. /// 大类代码
  68. /// </summary>
  69. [SugarColumn(ColumnName = "head_type_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  70. public string HeadTypeCode { get; set; }
  71. /// <summary>
  72. /// 大类名称
  73. /// </summary>
  74. [SugarColumn(ColumnName = "head_type_name", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  75. public string HeadTypeName { get; set; }
  76. /// <summary>
  77. /// 规格型号
  78. /// </summary>
  79. [SugarColumn(ColumnName = "describe", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  80. public string Describe { get; set; }
  81. /// <summary>
  82. /// 材质
  83. /// </summary>
  84. [SugarColumn(ColumnName = "texture", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  85. public string Texture { get; set; }
  86. /// <summary>
  87. /// 图号
  88. /// </summary>
  89. [SugarColumn(ColumnName = "figureNo", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  90. public string FigureNo { get; set; }
  91. /// <summary>
  92. /// 强度
  93. /// </summary>
  94. [SugarColumn(ColumnName = "strength", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  95. public string Strength { get; set; }
  96. /// <summary>
  97. /// 镀层
  98. /// </summary>
  99. [SugarColumn(ColumnName = "plating", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  100. public string Plating { get; set; }
  101. /// <summary>
  102. /// 镀层克重
  103. /// </summary>
  104. [SugarColumn(ColumnName = "plating_weight", Length = 18, DecimalDigits = 6, IsNullable = true)]
  105. public decimal PlatingWeight { get; set; }
  106. /// <summary>
  107. /// 镀层主元素含量
  108. /// </summary>
  109. [SugarColumn(ColumnName = "plating_con_qty", Length = 18, DecimalDigits = 6, IsNullable = true)]
  110. public decimal PlatingConQty { get; set; }
  111. /// <summary>
  112. /// 线密度
  113. /// </summary>
  114. [SugarColumn(ColumnName = "linear", Length = 18, DecimalDigits = 6, IsNullable = true)]
  115. public decimal Linear { get; set; }
  116. /// <summary>
  117. /// 产品号
  118. /// </summary>
  119. [SugarColumn(ColumnName = "pro_code", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  120. public string ProCode { get; set; }
  121. /// <summary>
  122. /// 产品描述
  123. /// </summary>
  124. [SugarColumn(ColumnName = "pro_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  125. public string ProName { get; set; }
  126. /// <summary>
  127. /// 产品强度
  128. /// </summary>
  129. [SugarColumn(ColumnName = "pro_stre", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  130. public string ProStre { get; set; }
  131. /// <summary>
  132. /// 线密度上限
  133. /// </summary>
  134. [SugarColumn(ColumnName = "linear_max", Length = 18, DecimalDigits = 6, IsNullable = true)]
  135. public decimal LinearMax { get; set; }
  136. /// <summary>
  137. /// 线密度下限
  138. /// </summary>
  139. [SugarColumn(ColumnName = "linear_min", Length = 18, DecimalDigits = 6, IsNullable = true)]
  140. public decimal LinearMin { get; set; }
  141. /// <summary>
  142. /// 线密度目标值
  143. /// </summary>
  144. [SugarColumn(ColumnName = "linear_tar", Length = 18, DecimalDigits = 6, IsNullable = true)]
  145. public decimal LinearTar { get; set; }
  146. /// <summary>
  147. /// 单丝倍数
  148. /// </summary>
  149. [SugarColumn(ColumnName = "mono", Length = 18, DecimalDigits = 6, IsNullable = true)]
  150. public decimal Mono { get; set; }
  151. /// <summary>
  152. /// 工字轮型号
  153. /// </summary>
  154. [SugarColumn(ColumnName = "spool_type", ColumnDataType = "nvarchar", Length = 50,IsNullable = true)]
  155. public string SpoolType { get; set; }
  156. /// <summary>
  157. /// 工字轮料号
  158. /// </summary>
  159. [SugarColumn(ColumnName = "spool_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  160. public string SpoolCode { get; set; }
  161. /// <summary>
  162. /// 单卷长度
  163. /// </summary>
  164. [SugarColumn(ColumnName = "length", Length = 18, DecimalDigits = 6, IsNullable = true)]
  165. public decimal Length { get; set; }
  166. /// <summary>
  167. /// 涂油量
  168. /// </summary>
  169. [SugarColumn(ColumnName = "oil_qty", Length = 18, DecimalDigits = 6, IsNullable = true)]
  170. public decimal OilQty { get; set; }
  171. /// <summary>
  172. /// 润滑液种类
  173. /// </summary>
  174. [SugarColumn(ColumnName = "lub_type", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  175. public string LubType { get; set; }
  176. /// <summary>
  177. /// 排线间距
  178. /// </summary>
  179. [SugarColumn(ColumnName = "line_space", Length = 18, DecimalDigits = 6, IsNullable = true)]
  180. public decimal LineSpace { get; set; }
  181. /// <summary>
  182. /// 捻距
  183. /// </summary>
  184. [SugarColumn(ColumnName = "line_length", Length = 18, DecimalDigits = 6, IsNullable = true)]
  185. public decimal LayLength { get; set; }
  186. /// <summary>
  187. /// 捻向
  188. /// </summary>
  189. [SugarColumn(ColumnName = "lay_direct", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  190. public string LayDirect { get; set; }
  191. /// <summary>
  192. /// 客户标准索引号
  193. /// </summary>
  194. [SugarColumn(ColumnName = "cum_index", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  195. public string CumIndex { get; set; }
  196. /// <summary>
  197. /// 有无焊点
  198. /// </summary>
  199. [SugarColumn(ColumnName = "is_solder", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  200. public string IsSolder { get; set; }
  201. /// <summary>
  202. /// SKU号
  203. /// </summary>
  204. [SugarColumn(ColumnName = "sku_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  205. public string SKUCode { get; set; }
  206. /// <summary>
  207. /// SKU描述
  208. /// </summary>
  209. [SugarColumn(ColumnName = "sku_desc", ColumnDataType = "nvarchar", Length = 200, IsNullable = true)]
  210. public string SKUDesc { get; set; }
  211. /// <summary>
  212. /// 控制扭转
  213. /// </summary>
  214. [SugarColumn(ColumnName = "tors", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  215. public string Tors { get; set; }
  216. /// <summary>
  217. /// 包装组ID
  218. /// </summary>
  219. [SugarColumn(ColumnName = "pack_group_id", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  220. public string PackGroupId { get; set; }
  221. /// <summary>
  222. /// 黑盘取样
  223. /// </summary>
  224. [SugarColumn(ColumnName = "black_samp", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  225. public string BlackSamp { get; set; }
  226. /// <summary>
  227. /// 黑盘检验
  228. /// </summary>
  229. [SugarColumn(ColumnName = "black_chk", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  230. public string BlackChk { get; set; }
  231. /// <summary>
  232. /// 客户编码
  233. /// </summary>
  234. [SugarColumn(ColumnName = "cust_code", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  235. public string CustCode { get; set; }
  236. /// <summary>
  237. /// 客户描述
  238. /// </summary>
  239. [SugarColumn(ColumnName = "cust_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  240. public string CustName { get; set; }
  241. /// <summary>
  242. /// 收货地址编码
  243. /// </summary>
  244. [SugarColumn(ColumnName = "address_code", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  245. public string AddressCode { get; set; }
  246. /// <summary>
  247. /// 收货地址名称
  248. /// </summary>
  249. [SugarColumn(ColumnName = "address_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  250. public string AddressName { get; set; }
  251. /// <summary>
  252. /// 生产批次数量(箱/批)
  253. /// </summary>
  254. [SugarColumn(ColumnName = "qty", Length = 18, DecimalDigits = 2, IsNullable = true)]
  255. public decimal Qty { get; set; }
  256. /// <summary>
  257. /// 每箱最大焊点盘数(个)
  258. /// </summary>
  259. [SugarColumn(ColumnName = "box_max_solder", Length = 18, DecimalDigits = 2, IsNullable = true)]
  260. public decimal BoxMaxSolder { get; set; }
  261. /// <summary>
  262. /// 工字轮最大焊点数(个)
  263. /// </summary>
  264. [SugarColumn(ColumnName = "spool_max_solder", Length = 18, DecimalDigits = 2, IsNullable = true)]
  265. public decimal SpoolMaxSolder { get; set; }
  266. /// <summary>
  267. /// OVC比例
  268. /// </summary>
  269. [SugarColumn(ColumnName = "ovc", Length = 18, DecimalDigits = 2, IsNullable = true)]
  270. public decimal OVC { get; set; }
  271. /// <summary>
  272. /// 起鼓等级
  273. /// </summary>
  274. [SugarColumn(ColumnName = "drumm_level", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  275. public string DrummLevel { get; set; }
  276. /// <summary>
  277. /// 公司代码
  278. /// </summary>
  279. [SugarColumn(ColumnName = "com_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  280. public string ComCode { get; set; }
  281. /// <summary>
  282. /// 公司名称
  283. /// </summary>
  284. [SugarColumn(ColumnName = "com_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  285. public string ComName { get; set; }
  286. /// <summary>
  287. /// 计量单位
  288. /// </summary>
  289. [SugarColumn(ColumnName = "calc_unit", ColumnDataType = "nvarchar", Length = 10, IsNullable = true)]
  290. public string CalcUnit { get; set; }
  291. /// <summary>
  292. /// 库存单位
  293. /// </summary>
  294. [SugarColumn(ColumnName = "stock_unit", ColumnDataType = "nvarchar", Length = 10, IsNullable = true)]
  295. public string StockUnit { get; set; }
  296. /// <summary>
  297. /// 单重
  298. /// </summary>
  299. [SugarColumn(ColumnName = "weight", Length = 18, DecimalDigits = 6, IsNullable = true)]
  300. public decimal Weight { get; set; }
  301. /// <summary>
  302. /// 单重单位
  303. /// </summary>
  304. [SugarColumn(ColumnName = "weight_unit", ColumnDataType = "nvarchar", Length = 10, IsNullable = true)]
  305. public string WeightUnit { get; set; }
  306. /// <summary>
  307. /// 是否启用时效
  308. /// </summary>
  309. [SugarColumn(ColumnName = "is_hold")]
  310. public bool IsHold { get; set; }
  311. /// <summary>
  312. /// 时效时长
  313. /// </summary>
  314. [SugarColumn(ColumnName = "hold_duration", Length = 18, DecimalDigits = 2)]
  315. public decimal HoldDuration { get; set; }
  316. }
  317. }