PortMilBatchSampleResultEntity.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. using Core.Mes.Client.Comm.Attribute;
  2. using Newtonsoft.Json;
  3. using System;
  4. using System.ComponentModel;
  5. namespace Core.StlMes.Client.Judge.Models
  6. {
  7. /// <summary>
  8. /// 数据库表PORT_MIL_BATCH_SAMPLE_RESULT所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/)
  9. /// 作者:tgcx-test 时间:2016-11-14
  10. /// </summary>
  11. public class PortMilBatchSampleResultEntity
  12. {
  13. /// <summary>
  14. /// 从MIL_PLAN 表带过来的ID
  15. /// </summary>
  16. private string planId = "";
  17. /// <summary>
  18. /// 生产批号
  19. /// </summary>
  20. private string lotNo = "";
  21. /// <summary>
  22. /// 熔炼炉号
  23. /// </summary>
  24. private string stoveNo = "";
  25. /// <summary>
  26. /// 判定炉号
  27. /// </summary>
  28. private string judgeStoveNo = "";
  29. /// <summary>
  30. /// 组号
  31. /// </summary>
  32. private string groupNo = "";
  33. /// <summary>
  34. /// 产线代码
  35. /// </summary>
  36. private string plineCode = "";
  37. /// <summary>
  38. /// 性能批号
  39. /// </summary>
  40. private string batchNo = "";
  41. /// <summary>
  42. /// 序号
  43. /// </summary>
  44. private decimal? seq = null;
  45. /// <summary>
  46. /// 子管号
  47. /// </summary>
  48. private string matNo = "";
  49. /// <summary>
  50. /// 是否样管
  51. /// </summary>
  52. private string isSamplePipe = "";
  53. /// <summary>
  54. /// 是否有效(1有效)
  55. /// </summary>
  56. private string isValid = "";
  57. /// <summary>
  58. /// 备注
  59. /// </summary>
  60. private string remark = "";
  61. /// <summary>
  62. /// 取样长度(mm)
  63. /// </summary>
  64. private string samplePipeLen = "";
  65. /// <summary>
  66. /// 取样人
  67. /// </summary>
  68. private string getSampleName = "";
  69. /// <summary>
  70. /// 取样时间
  71. /// </summary>
  72. private string getSampleTime = "";
  73. /// <summary>
  74. /// 操作班次
  75. /// </summary>
  76. private string getSampleShift = "";
  77. /// <summary>
  78. /// 班次班组
  79. /// </summary>
  80. private string getSampleClass = "";
  81. /// <summary>
  82. /// 定尺长度
  83. /// </summary>
  84. private decimal? orderLength = null;
  85. /// <summary>
  86. /// 理论重量
  87. /// </summary>
  88. private decimal? actTheoryWeight = null;
  89. /// <summary>
  90. /// 支数
  91. /// </summary>
  92. private decimal? actCount = null;
  93. /// <summary>
  94. /// 创建时间
  95. /// </summary>
  96. private string crateTime = "";
  97. /// <summary>
  98. /// 状态(0-合格 1-热区剔除 2-冷区剔除3-下线 4-返线5-留样)
  99. /// </summary>
  100. private string status = "";
  101. /// <summary>
  102. /// 母管号
  103. /// </summary>
  104. private string mMatNo = "";
  105. /// <summary>
  106. /// 组炉标识(0,未组炉 1-组炉)
  107. /// </summary>
  108. private string groupFlag = "";
  109. /// <summary>
  110. /// 操作工序(0-上料 2-加热炉 3-穿孔 4-连轧 5-再加热炉 6-定径 7分切 9矫直 10-探伤 11-人工质检12-交库)
  111. /// </summary>
  112. private string opProcess = "";
  113. /// <summary>
  114. /// 返线工序(10-探伤返线 11-复检)
  115. /// </summary>
  116. private string backProcess = "";
  117. /// <summary>
  118. /// 母坯号
  119. /// </summary>
  120. private string mMMatNo = "";
  121. /// <summary>
  122. /// 是否入库(0-未入库 1-已入库)
  123. /// </summary>
  124. private string instoreFlag = "";
  125. /// <summary>
  126. /// 交库批号(无用)
  127. /// </summary>
  128. private string realBatchNo = "";
  129. /// <summary>
  130. /// 切后长度(用于探伤子管再切)
  131. /// </summary>
  132. private decimal? recutLength = null;
  133. /// <summary>
  134. /// 切后理论重量
  135. /// </summary>
  136. private decimal? cutActTheoryWeight = null;
  137. /// <summary>
  138. /// 取样长度A端(mm)
  139. /// </summary>
  140. private string samplePipeLenA = "";
  141. /// <summary>
  142. /// 取样长度B端(mm)
  143. /// </summary>
  144. private string samplePipeLenB = "";
  145. /// <summary>
  146. /// 下线类别(1,未探伤下线,2,已探伤下线)
  147. /// </summary>
  148. private string offlineType = "";
  149. /// <summary>
  150. /// 结转年月
  151. /// </summary>
  152. private string balYearMonth = "";
  153. /// <summary>
  154. /// 成分判定结果代码
  155. /// </summary>
  156. private string chemResultCode = "";
  157. /// <summary>
  158. /// 性能判定结果代码
  159. /// </summary>
  160. private string phyResultCode = "";
  161. /// <summary>
  162. /// 从MIL_PLAN 表带过来的ID
  163. /// </summary>
  164. [Description("从MIL_PLAN 表带过来的ID")]
  165. [Nullable(false)]
  166. [DataLength(20)]
  167. [JsonProperty("planId")]
  168. public string PlanId
  169. {
  170. get { return planId; }
  171. set { planId = value; }
  172. }
  173. /// <summary>
  174. /// 生产批号
  175. /// </summary>
  176. [Description("生产批号")]
  177. [Nullable(false)]
  178. [DataLength(20)]
  179. [JsonProperty("lotNo")]
  180. public string LotNo
  181. {
  182. get { return lotNo; }
  183. set { lotNo = value; }
  184. }
  185. /// <summary>
  186. /// 熔炼炉号
  187. /// </summary>
  188. [Description("熔炼炉号")]
  189. [Nullable(true)]
  190. [DataLength(20)]
  191. [JsonProperty("stoveNo")]
  192. public string StoveNo
  193. {
  194. get { return stoveNo; }
  195. set { stoveNo = value; }
  196. }
  197. /// <summary>
  198. /// 判定炉号
  199. /// </summary>
  200. [Description("判定炉号")]
  201. [Nullable(false)]
  202. [DataLength(10)]
  203. [JsonProperty("judgeStoveNo")]
  204. public string JudgeStoveNo
  205. {
  206. get { return judgeStoveNo; }
  207. set { judgeStoveNo = value; }
  208. }
  209. /// <summary>
  210. /// 组号
  211. /// </summary>
  212. [Description("组号")]
  213. [Nullable(true)]
  214. [DataLength(6)]
  215. [JsonProperty("groupNo")]
  216. public string GroupNo
  217. {
  218. get { return groupNo; }
  219. set { groupNo = value; }
  220. }
  221. /// <summary>
  222. /// 产线代码
  223. /// </summary>
  224. [Description("产线代码")]
  225. [Nullable(true)]
  226. [DataLength(20)]
  227. [JsonProperty("plineCode")]
  228. public string PlineCode
  229. {
  230. get { return plineCode; }
  231. set { plineCode = value; }
  232. }
  233. /// <summary>
  234. /// 性能批号
  235. /// </summary>
  236. [Description("性能批号")]
  237. [Nullable(true)]
  238. [DataLength(20)]
  239. [JsonProperty("batchNo")]
  240. public string BatchNo
  241. {
  242. get { return batchNo; }
  243. set { batchNo = value; }
  244. }
  245. /// <summary>
  246. /// 序号
  247. /// </summary>
  248. [Description("序号")]
  249. [Nullable(false)]
  250. [DataLength(6)]
  251. [JsonProperty("seq")]
  252. public decimal? Seq
  253. {
  254. get { return seq; }
  255. set { seq = value; }
  256. }
  257. /// <summary>
  258. /// 子管号
  259. /// </summary>
  260. [Description("子管号")]
  261. [Nullable(true)]
  262. [DataLength(20)]
  263. [JsonProperty("matNo")]
  264. public string MatNo
  265. {
  266. get { return matNo; }
  267. set { matNo = value; }
  268. }
  269. /// <summary>
  270. /// 是否样管
  271. /// </summary>
  272. [Description("是否样管")]
  273. [Nullable(true)]
  274. [DataLength(1)]
  275. [JsonProperty("isSamplePipe")]
  276. public string IsSamplePipe
  277. {
  278. get { return isSamplePipe; }
  279. set { isSamplePipe = value; }
  280. }
  281. /// <summary>
  282. /// 是否有效(1有效)
  283. /// </summary>
  284. [Description("是否有效(1有效)")]
  285. [Nullable(true)]
  286. [DataLength(1)]
  287. [JsonProperty("isValid")]
  288. public string IsValid
  289. {
  290. get { return isValid; }
  291. set { isValid = value; }
  292. }
  293. /// <summary>
  294. /// 备注
  295. /// </summary>
  296. [Description("备注")]
  297. [Nullable(true)]
  298. [DataLength(400)]
  299. [JsonProperty("remark")]
  300. public string Remark
  301. {
  302. get { return remark; }
  303. set { remark = value; }
  304. }
  305. /// <summary>
  306. /// 取样长度(mm)
  307. /// </summary>
  308. [Description("取样长度(mm)")]
  309. [Nullable(true)]
  310. [DataLength(20)]
  311. [JsonProperty("samplePipeLen")]
  312. public string SamplePipeLen
  313. {
  314. get { return samplePipeLen; }
  315. set { samplePipeLen = value; }
  316. }
  317. /// <summary>
  318. /// 取样人
  319. /// </summary>
  320. [Description("取样人")]
  321. [Nullable(true)]
  322. [DataLength(20)]
  323. [JsonProperty("getSampleName")]
  324. public string GetSampleName
  325. {
  326. get { return getSampleName; }
  327. set { getSampleName = value; }
  328. }
  329. /// <summary>
  330. /// 取样时间
  331. /// </summary>
  332. [Description("取样时间")]
  333. [Nullable(true)]
  334. [JsonProperty("getSampleTime")]
  335. public string GetSampleTime
  336. {
  337. get { return getSampleTime; }
  338. set { getSampleTime = value; }
  339. }
  340. /// <summary>
  341. /// 操作班次
  342. /// </summary>
  343. [Description("操作班次")]
  344. [Nullable(true)]
  345. [DataLength(10)]
  346. [JsonProperty("getSampleShift")]
  347. public string GetSampleShift
  348. {
  349. get { return getSampleShift; }
  350. set { getSampleShift = value; }
  351. }
  352. /// <summary>
  353. /// 班次班组
  354. /// </summary>
  355. [Description("班次班组")]
  356. [Nullable(true)]
  357. [DataLength(5)]
  358. [JsonProperty("getSampleClass")]
  359. public string GetSampleClass
  360. {
  361. get { return getSampleClass; }
  362. set { getSampleClass = value; }
  363. }
  364. /// <summary>
  365. /// 定尺长度
  366. /// </summary>
  367. [Description("定尺长度")]
  368. [Nullable(true)]
  369. [DataLength(8)]
  370. [JsonProperty("orderLength")]
  371. public decimal? OrderLength
  372. {
  373. get { return orderLength; }
  374. set { orderLength = value; }
  375. }
  376. /// <summary>
  377. /// 理论重量
  378. /// </summary>
  379. [Description("理论重量")]
  380. [Nullable(true)]
  381. [DataLength(9)]
  382. [JsonProperty("actTheoryWeight")]
  383. public decimal? ActTheoryWeight
  384. {
  385. get { return actTheoryWeight; }
  386. set { actTheoryWeight = value; }
  387. }
  388. /// <summary>
  389. /// 支数
  390. /// </summary>
  391. [Description("支数")]
  392. [Nullable(true)]
  393. [DataLength(3)]
  394. [JsonProperty("actCount")]
  395. public decimal? ActCount
  396. {
  397. get { return actCount; }
  398. set { actCount = value; }
  399. }
  400. /// <summary>
  401. /// 创建时间
  402. /// </summary>
  403. [Description("创建时间")]
  404. [Nullable(true)]
  405. [JsonProperty("crateTime")]
  406. public string CrateTime
  407. {
  408. get { return crateTime; }
  409. set { crateTime = value; }
  410. }
  411. /// <summary>
  412. /// 状态(0-合格 1-热区剔除 2-冷区剔除3-下线 4-返线5-留样)
  413. /// </summary>
  414. [Description("状态(0-合格 1-热区剔除 2-冷区剔除3-下线 4-返线5-留样)")]
  415. [Nullable(true)]
  416. [DataLength(1)]
  417. [JsonProperty("status")]
  418. public string Status
  419. {
  420. get { return status; }
  421. set { status = value; }
  422. }
  423. /// <summary>
  424. /// 母管号
  425. /// </summary>
  426. [Description("母管号")]
  427. [Nullable(true)]
  428. [DataLength(20)]
  429. [JsonProperty("mMatNo")]
  430. public string MMatNo
  431. {
  432. get { return mMatNo; }
  433. set { mMatNo = value; }
  434. }
  435. /// <summary>
  436. /// 组炉标识(0,未组炉 1-组炉)
  437. /// </summary>
  438. [Description("组炉标识(0,未组炉 1-组炉)")]
  439. [Nullable(true)]
  440. [DataLength(1)]
  441. [JsonProperty("groupFlag")]
  442. public string GroupFlag
  443. {
  444. get { return groupFlag; }
  445. set { groupFlag = value; }
  446. }
  447. /// <summary>
  448. /// 操作工序(0-上料 2-加热炉 3-穿孔 4-连轧 5-再加热炉 6-定径 7分切 9矫直 10-探伤 11-人工质检12-交库)
  449. /// </summary>
  450. [Description("操作工序(0-上料 2-加热炉 3-穿孔 4-连轧 5-再加热炉 6-定径 7分切 9矫直 10-探伤 11-人工质检12-交库)")]
  451. [Nullable(true)]
  452. [DataLength(2)]
  453. [JsonProperty("opProcess")]
  454. public string OpProcess
  455. {
  456. get { return opProcess; }
  457. set { opProcess = value; }
  458. }
  459. /// <summary>
  460. /// 返线工序(10-探伤返线 11-复检)
  461. /// </summary>
  462. [Description("返线工序(10-探伤返线 11-复检)")]
  463. [Nullable(true)]
  464. [DataLength(2)]
  465. [JsonProperty("backProcess")]
  466. public string BackProcess
  467. {
  468. get { return backProcess; }
  469. set { backProcess = value; }
  470. }
  471. /// <summary>
  472. /// 母坯号
  473. /// </summary>
  474. [Description("母坯号")]
  475. [Nullable(true)]
  476. [DataLength(20)]
  477. [JsonProperty("mMMatNo")]
  478. public string MMMatNo
  479. {
  480. get { return mMMatNo; }
  481. set { mMMatNo = value; }
  482. }
  483. /// <summary>
  484. /// 是否入库(0-未入库 1-已入库)
  485. /// </summary>
  486. [Description("是否入库(0-未入库 1-已入库)")]
  487. [Nullable(true)]
  488. [DataLength(1)]
  489. [JsonProperty("instoreFlag")]
  490. public string InstoreFlag
  491. {
  492. get { return instoreFlag; }
  493. set { instoreFlag = value; }
  494. }
  495. /// <summary>
  496. /// 交库批号(无用)
  497. /// </summary>
  498. [Description("交库批号(无用)")]
  499. [Nullable(true)]
  500. [DataLength(20)]
  501. [JsonProperty("realBatchNo")]
  502. public string RealBatchNo
  503. {
  504. get { return realBatchNo; }
  505. set { realBatchNo = value; }
  506. }
  507. /// <summary>
  508. /// 切后长度(用于探伤子管再切)
  509. /// </summary>
  510. [Description("切后长度(用于探伤子管再切)")]
  511. [Nullable(true)]
  512. [DataLength(8)]
  513. [JsonProperty("recutLength")]
  514. public decimal? RecutLength
  515. {
  516. get { return recutLength; }
  517. set { recutLength = value; }
  518. }
  519. /// <summary>
  520. /// 切后理论重量
  521. /// </summary>
  522. [Description("切后理论重量")]
  523. [Nullable(true)]
  524. [DataLength(9)]
  525. [JsonProperty("cutActTheoryWeight")]
  526. public decimal? CutActTheoryWeight
  527. {
  528. get { return cutActTheoryWeight; }
  529. set { cutActTheoryWeight = value; }
  530. }
  531. /// <summary>
  532. /// 取样长度A端(mm)
  533. /// </summary>
  534. [Description("取样长度A端(mm)")]
  535. [Nullable(true)]
  536. [DataLength(20)]
  537. [JsonProperty("samplePipeLenA")]
  538. public string SamplePipeLenA
  539. {
  540. get { return samplePipeLenA; }
  541. set { samplePipeLenA = value; }
  542. }
  543. /// <summary>
  544. /// 取样长度B端(mm)
  545. /// </summary>
  546. [Description("取样长度B端(mm)")]
  547. [Nullable(true)]
  548. [DataLength(20)]
  549. [JsonProperty("samplePipeLenB")]
  550. public string SamplePipeLenB
  551. {
  552. get { return samplePipeLenB; }
  553. set { samplePipeLenB = value; }
  554. }
  555. /// <summary>
  556. /// 下线类别(1,未探伤下线,2,已探伤下线)
  557. /// </summary>
  558. [Description("下线类别(1,未探伤下线,2,已探伤下线)")]
  559. [Nullable(true)]
  560. [DataLength(1)]
  561. [JsonProperty("offlineType")]
  562. public string OfflineType
  563. {
  564. get { return offlineType; }
  565. set { offlineType = value; }
  566. }
  567. /// <summary>
  568. /// 结转年月
  569. /// </summary>
  570. [Description("结转年月")]
  571. [Nullable(true)]
  572. [DataLength(6)]
  573. [JsonProperty("balYearMonth")]
  574. public string BalYearMonth
  575. {
  576. get { return balYearMonth; }
  577. set { balYearMonth = value; }
  578. }
  579. /// <summary>
  580. /// 成分判定结果代码
  581. /// </summary>
  582. [Description("成分判定结果代码")]
  583. [Nullable(true)]
  584. [DataLength(10)]
  585. [JsonProperty("chemResultCode")]
  586. public string ChemResultCode
  587. {
  588. get { return chemResultCode; }
  589. set { chemResultCode = value; }
  590. }
  591. /// <summary>
  592. /// 性能判定结果代码
  593. /// </summary>
  594. [Description("性能判定结果代码")]
  595. [Nullable(true)]
  596. [DataLength(10)]
  597. [JsonProperty("phyResultCode")]
  598. public string PhyResultCode
  599. {
  600. get { return phyResultCode; }
  601. set { phyResultCode = value; }
  602. }
  603. }
  604. }