CmmWeightResultEntity.cs 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. using System.ComponentModel;
  2. using Core.Mes.Client.Comm.Attribute;
  3. namespace Core.StlMes.Client.Mcp.Mch.Mcms.entity
  4. {
  5. /// <summary>
  6. /// 数据库表CMM_WEIGHT_RESULT所对应的实体类(生成工具:代码生成工具3.0)
  7. /// 作者:朱少波 时间:2020-11-09
  8. /// </summary>
  9. public class CmmWeightResultEntity
  10. {
  11. /// <summary>
  12. /// 磅单号/单据号
  13. /// </summary>
  14. private string resultNo = "";
  15. /// <summary>
  16. /// 第一次过磅记录流水号
  17. /// </summary>
  18. private string recordNo1 = "";
  19. /// <summary>
  20. /// 第二次过磅记录流水号
  21. /// </summary>
  22. private string recordNo2 = "";
  23. /// <summary>
  24. /// 第一次过磅检斤人
  25. /// </summary>
  26. private string recoder1 = "";
  27. /// <summary>
  28. /// 第二次过磅检斤人
  29. /// </summary>
  30. private string recoder2 = "";
  31. /// <summary>
  32. /// 第一次过磅类型 101- 空车过皮 102-钢坯采购 103-钢坯采购 104-采购辅料 105-修复返厂 106-设备采购 107-其他内转 108-内转钢管 109-内转钢坯 201- 配车单称重 202-废料销售 203-修复出厂 204-其他内转 205-内转钢管 206-内转钢坯 207-空车回皮
  33. /// </summary>
  34. private string recordType1 = "";
  35. /// <summary>
  36. /// 第二次过磅类型 101- 空车过皮 102-钢坯采购 103-钢坯采购 104-采购辅料 105-修复返厂 106-设备采购 107-其他内转 108-内转钢管 109-内转钢坯 201- 配车单称重 202-废料销售 203-修复出厂 204-其他内转 205-内转钢管 206-内转钢坯 207-空车回皮
  37. /// </summary>
  38. private string recordType2 = "";
  39. /// <summary>
  40. /// 皮重
  41. /// </summary>
  42. private decimal? tareWt = null;
  43. /// <summary>
  44. /// 毛重
  45. /// </summary>
  46. private decimal? grossWt = null;
  47. /// <summary>
  48. /// 净重
  49. /// </summary>
  50. private decimal? netWt = null;
  51. /// <summary>
  52. /// 第一次过磅检斤时间
  53. /// </summary>
  54. private string recordDate1 = "";
  55. /// <summary>
  56. /// 第一次过磅检斤时间
  57. /// </summary>
  58. private string recordDate2 = "";
  59. /// <summary>
  60. /// 物资名称
  61. /// </summary>
  62. private string matName = "";
  63. /// <summary>
  64. /// 称重类型
  65. /// </summary>
  66. private string matType = "";
  67. /// <summary>
  68. /// 装车单号
  69. /// </summary>
  70. private string loadvehicleNo = "";
  71. /// <summary>
  72. /// 收货单位
  73. /// </summary>
  74. private string receiveName = "";
  75. /// <summary>
  76. /// 订货单位
  77. /// </summary>
  78. private string orderName = "";
  79. /// <summary>
  80. /// 发货单位
  81. /// </summary>
  82. private string shippersName = "";
  83. /// <summary>
  84. /// 运输单位
  85. /// </summary>
  86. private string transportName = "";
  87. /// <summary>
  88. /// 备注
  89. /// </summary>
  90. private string memo = "";
  91. /// <summary>
  92. /// 作废时间
  93. /// </summary>
  94. private string deleteDate = "";
  95. /// <summary>
  96. /// 作废人
  97. /// </summary>
  98. private string deleteUser = "";
  99. /// <summary>
  100. /// 第一次过磅磅房编号
  101. /// </summary>
  102. private string recoderLocation1 = "";
  103. /// <summary>
  104. /// 第二次过磅磅房编号
  105. /// </summary>
  106. private string recoderLocation2 = "";
  107. /// <summary>
  108. /// 有效标志(1:有效,0:无效)
  109. /// </summary>
  110. private string validflag = "";
  111. /// <summary>
  112. /// 实发重
  113. /// </summary>
  114. private decimal? realWt = null;
  115. private decimal? matNum = null;
  116. private string carNo = "";
  117. /// <summary>
  118. /// 磅单号/单据号
  119. /// </summary>
  120. [Description("磅单号/单据号")]
  121. [Nullable(false)]
  122. [DataLength(20)]
  123. public string ResultNo
  124. {
  125. get { return resultNo; }
  126. set { resultNo = value; }
  127. }
  128. /// <summary>
  129. /// 第一次过磅记录流水号
  130. /// </summary>
  131. [Description("第一次过磅记录流水号")]
  132. [Nullable(true)]
  133. [DataLength(20)]
  134. public string RecordNo1
  135. {
  136. get { return recordNo1; }
  137. set { recordNo1 = value; }
  138. }
  139. /// <summary>
  140. /// 第二次过磅记录流水号
  141. /// </summary>
  142. [Description("第二次过磅记录流水号")]
  143. [Nullable(true)]
  144. [DataLength(20)]
  145. public string RecordNo2
  146. {
  147. get { return recordNo2; }
  148. set { recordNo2 = value; }
  149. }
  150. /// <summary>
  151. /// 第一次过磅检斤人
  152. /// </summary>
  153. [Description("第一次过磅检斤人")]
  154. [Nullable(true)]
  155. [DataLength(10)]
  156. public string Recoder1
  157. {
  158. get { return recoder1; }
  159. set { recoder1 = value; }
  160. }
  161. /// <summary>
  162. /// 第二次过磅检斤人
  163. /// </summary>
  164. [Description("第二次过磅检斤人")]
  165. [Nullable(true)]
  166. [DataLength(10)]
  167. public string Recoder2
  168. {
  169. get { return recoder2; }
  170. set { recoder2 = value; }
  171. }
  172. /// <summary>
  173. /// 第一次过磅类型 101- 空车过皮 102-钢坯采购 103-钢坯采购 104-采购辅料 105-修复返厂 106-设备采购 107-其他内转 108-内转钢管 109-内转钢坯 201- 配车单称重 202-废料销售 203-修复出厂 204-其他内转 205-内转钢管 206-内转钢坯 207-空车回皮
  174. /// </summary>
  175. [Description("第一次过磅类型")]
  176. [Nullable(true)]
  177. [DataLength(2)]
  178. public string RecordType1
  179. {
  180. get { return recordType1; }
  181. set { recordType1 = value; }
  182. }
  183. /// <summary>
  184. /// 第二次过磅类型 101- 空车过皮 102-钢坯采购 103-钢坯采购 104-采购辅料 105-修复返厂 106-设备采购 107-其他内转 108-内转钢管 109-内转钢坯 201- 配车单称重 202-废料销售 203-修复出厂 204-其他内转 205-内转钢管 206-内转钢坯 207-空车回皮
  185. /// </summary>
  186. [Description("第二次过磅类型")]
  187. [Nullable(true)]
  188. [DataLength(2)]
  189. public string RecordType2
  190. {
  191. get { return recordType2; }
  192. set { recordType2 = value; }
  193. }
  194. /// <summary>
  195. /// 皮重
  196. /// </summary>
  197. [Description("皮重")]
  198. [Nullable(true)]
  199. [DataLength(8)]
  200. public decimal? TareWt
  201. {
  202. get { return tareWt; }
  203. set { tareWt = value; }
  204. }
  205. /// <summary>
  206. /// 毛重
  207. /// </summary>
  208. [Description("毛重")]
  209. [Nullable(true)]
  210. [DataLength(8)]
  211. public decimal? GrossWt
  212. {
  213. get { return grossWt; }
  214. set { grossWt = value; }
  215. }
  216. /// <summary>
  217. /// 净重
  218. /// </summary>
  219. [Description("净重")]
  220. [Nullable(true)]
  221. [DataLength(8)]
  222. public decimal? NetWt
  223. {
  224. get { return netWt; }
  225. set { netWt = value; }
  226. }
  227. /// <summary>
  228. /// 第一次过磅检斤时间
  229. /// </summary>
  230. [Description("第一次过磅检斤时间")]
  231. [Nullable(true)]
  232. public string RecordDate1
  233. {
  234. get { return recordDate1; }
  235. set { recordDate1 = value; }
  236. }
  237. /// <summary>
  238. /// 第一次过磅检斤时间
  239. /// </summary>
  240. [Description("第一次过磅检斤时间")]
  241. [Nullable(true)]
  242. public string RecordDate2
  243. {
  244. get { return recordDate2; }
  245. set { recordDate2 = value; }
  246. }
  247. /// <summary>
  248. /// 物资名称
  249. /// </summary>
  250. [Description("物资名称")]
  251. [Nullable(true)]
  252. [DataLength(100)]
  253. public string MatName
  254. {
  255. get { return matName; }
  256. set { matName = value; }
  257. }
  258. /// <summary>
  259. /// 称重类型
  260. /// </summary>
  261. [Description("称重类型")]
  262. [Nullable(true)]
  263. [DataLength(22)]
  264. public string MatType
  265. {
  266. get { return matType; }
  267. set { matType = value; }
  268. }
  269. /// <summary>
  270. /// 装车单号
  271. /// </summary>
  272. [Description("装车单号")]
  273. [Nullable(true)]
  274. [DataLength(22)]
  275. public string LoadvehicleNo
  276. {
  277. get { return loadvehicleNo; }
  278. set { loadvehicleNo = value; }
  279. }
  280. /// <summary>
  281. /// 收货单位
  282. /// </summary>
  283. [Description("收货单位")]
  284. [Nullable(true)]
  285. [DataLength(120)]
  286. public string ReceiveName
  287. {
  288. get { return receiveName; }
  289. set { receiveName = value; }
  290. }
  291. /// <summary>
  292. /// 订货单位
  293. /// </summary>
  294. [Description("订货单位")]
  295. [Nullable(true)]
  296. [DataLength(120)]
  297. public string OrderName
  298. {
  299. get { return orderName; }
  300. set { orderName = value; }
  301. }
  302. /// <summary>
  303. /// 发货单位
  304. /// </summary>
  305. [Description("发货单位")]
  306. [Nullable(true)]
  307. [DataLength(120)]
  308. public string ShippersName
  309. {
  310. get { return shippersName; }
  311. set { shippersName = value; }
  312. }
  313. /// <summary>
  314. /// 运输单位
  315. /// </summary>
  316. [Description("运输单位")]
  317. [Nullable(true)]
  318. [DataLength(120)]
  319. public string TransportName
  320. {
  321. get { return transportName; }
  322. set { transportName = value; }
  323. }
  324. /// <summary>
  325. /// 备注
  326. /// </summary>
  327. [Description("备注")]
  328. [Nullable(true)]
  329. [DataLength(1000)]
  330. public string Memo
  331. {
  332. get { return memo; }
  333. set { memo = value; }
  334. }
  335. /// <summary>
  336. /// 作废时间
  337. /// </summary>
  338. [Description("作废时间")]
  339. [Nullable(true)]
  340. public string DeleteDate
  341. {
  342. get { return deleteDate; }
  343. set { deleteDate = value; }
  344. }
  345. /// <summary>
  346. /// 作废人
  347. /// </summary>
  348. [Description("作废人")]
  349. [Nullable(true)]
  350. [DataLength(10)]
  351. public string DeleteUser
  352. {
  353. get { return deleteUser; }
  354. set { deleteUser = value; }
  355. }
  356. /// <summary>
  357. /// 第一次过磅磅房编号
  358. /// </summary>
  359. [Description("第一次过磅磅房编号")]
  360. [Nullable(true)]
  361. [DataLength(2)]
  362. public string RecoderLocation1
  363. {
  364. get { return recoderLocation1; }
  365. set { recoderLocation1 = value; }
  366. }
  367. /// <summary>
  368. /// 第二次过磅磅房编号
  369. /// </summary>
  370. [Description("第二次过磅磅房编号")]
  371. [Nullable(true)]
  372. [DataLength(2)]
  373. public string RecoderLocation2
  374. {
  375. get { return recoderLocation2; }
  376. set { recoderLocation2 = value; }
  377. }
  378. /// <summary>
  379. /// 有效标志(1:有效,0:无效)
  380. /// </summary>
  381. [Description("有效标志(1:有效,0:无效)")]
  382. [Nullable(false)]
  383. [DataLength(1)]
  384. public string Validflag
  385. {
  386. get { return validflag; }
  387. set { validflag = value; }
  388. }
  389. /// <summary>
  390. /// 实发重
  391. /// </summary>
  392. [Description("实发重")]
  393. [Nullable(true)]
  394. [DataLength(8)]
  395. public decimal? RealWt
  396. {
  397. get { return realWt; }
  398. set { realWt = value; }
  399. }
  400. /// <summary>
  401. /// 车牌号
  402. /// </summary>
  403. [Description("车牌号")]
  404. [Nullable(false)]
  405. [DataLength(1)]
  406. public string CarNo
  407. {
  408. get { return carNo; }
  409. set { carNo = value; }
  410. }
  411. /// <summary>
  412. /// 实发重
  413. /// </summary>
  414. [Description("支数")]
  415. [Nullable(true)]
  416. [DataLength(8)]
  417. public decimal? MatNum
  418. {
  419. get { return matNum; }
  420. set { matNum = value; }
  421. }
  422. }
  423. }