CouplingOfflineResultEntity.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. using Core.Mes.Client.Comm.Attribute;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Linq;
  6. using System.Text;
  7. namespace Core.StlMes.Client.Mcp.Entity
  8. {
  9. /// <summary>
  10. /// 数据库表COUPLING_OFFLINE_RESULT所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:MS-20181101OWOO 时间:2018-11-13
  12. /// </summary>
  13. public class CouplingOfflineResultEntity
  14. {
  15. /// <summary>
  16. /// 实绩编号
  17. /// </summary>
  18. private string resultNo = "";
  19. /// <summary>
  20. /// 产线代码
  21. /// </summary>
  22. private string plineCode = "";
  23. /// <summary>
  24. /// 炉次计划号
  25. /// </summary>
  26. private string zyPlanId = "";
  27. /// <summary>
  28. /// 工单号(炉次计划号+01流水)
  29. /// </summary>
  30. private string woId = "";
  31. /// <summary>
  32. /// 工序点代码(上料、切管、车丝。。。。)
  33. /// </summary>
  34. private string stationCode = "";
  35. /// <summary>
  36. /// 工序点名称
  37. /// </summary>
  38. private string stationDesc = "";
  39. /// <summary>
  40. /// 判定炉号
  41. /// </summary>
  42. private string judgeStoveNo = "";
  43. /// <summary>
  44. /// 批号(炉批号)
  45. /// </summary>
  46. private string batchNo = "";
  47. /// <summary>
  48. /// 离线(支)个数
  49. /// </summary>
  50. private decimal? offlineNum = null;
  51. /// <summary>
  52. /// 离线重量
  53. /// </summary>
  54. private decimal? offlineWt = null;
  55. /// <summary>
  56. /// 是否委托(0否,1是,2全工序委托)
  57. /// </summary>
  58. private string ifAllOutWork = "";
  59. /// <summary>
  60. /// 粗加工类型(扒皮0、镗孔1)
  61. /// </summary>
  62. private string harshType = "";
  63. /// <summary>
  64. /// 涂层类型(磷化、镀铜)
  65. /// </summary>
  66. private string coatingType = "";
  67. /// <summary>
  68. /// 机床编号
  69. /// </summary>
  70. private string machineNo = "";
  71. /// <summary>
  72. /// 采集方式(0-接口采集,1-人工录入)
  73. /// </summary>
  74. private string colMode = "";
  75. /// <summary>
  76. /// 采集/录入时间
  77. /// </summary>
  78. private string colTime = "";
  79. /// <summary>
  80. /// 操作人
  81. /// </summary>
  82. private string colUser = "";
  83. /// <summary>
  84. /// 操作班次
  85. /// </summary>
  86. private string colShift = "";
  87. /// <summary>
  88. /// 操作班组
  89. /// </summary>
  90. private string colGroup = "";
  91. /// <summary>
  92. /// 操作时间
  93. /// </summary>
  94. private string createTime = "";
  95. /// <summary>
  96. /// 序号
  97. /// </summary>
  98. private string offXh = "";
  99. /// <summary>
  100. /// 返线支数
  101. /// </summary>
  102. private decimal? reNum = null;
  103. /// <summary>
  104. /// 返线重量
  105. /// </summary>
  106. private decimal? reWt = null;
  107. /// <summary>
  108. /// 返线工序点
  109. /// </summary>
  110. private string returnProcess = "";
  111. /// <summary>
  112. /// 返线时间
  113. /// </summary>
  114. private string reTime = "";
  115. /// <summary>
  116. /// 返线人
  117. /// </summary>
  118. private string reName = "";
  119. /// <summary>
  120. /// 委外单号
  121. /// </summary>
  122. private string subcontractNo = "";
  123. /// <summary>
  124. /// 委外单号序号
  125. /// </summary>
  126. private string subcontractNoSeq = "";
  127. /// <summary>
  128. /// 委外支数
  129. /// </summary>
  130. private decimal? subcontractNum = null;
  131. /// <summary>
  132. /// 委外重量
  133. /// </summary>
  134. private decimal? subcontractWt = null;
  135. /// <summary>
  136. /// 委外时间
  137. /// </summary>
  138. private string subcontractTime = "";
  139. /// <summary>
  140. /// 委外人
  141. /// </summary>
  142. private string subcontractName = "";
  143. /// <summary>
  144. /// 委外回报合格支数
  145. /// </summary>
  146. private decimal? subcontractcompleteNum = null;
  147. /// <summary>
  148. /// 委外回报合格重量
  149. /// </summary>
  150. private decimal? subcontractcompleteWt = null;
  151. /// <summary>
  152. /// 委外回报废品支数
  153. /// </summary>
  154. private decimal? hbFpNum = null;
  155. /// <summary>
  156. /// 委外回报废品重量
  157. /// </summary>
  158. private decimal? hbFpWt = null;
  159. /// <summary>
  160. /// 委外回报时间
  161. /// </summary>
  162. private string subcontractcompleteTime = "";
  163. /// <summary>
  164. /// 委外回报人
  165. /// </summary>
  166. private string subcontractcompleteName = "";
  167. /// <summary>
  168. /// 离线备注
  169. /// </summary>
  170. private string memo = "";
  171. private string plineName = "";
  172. private string batchGroudNo = "";
  173. /// <summary>
  174. /// 实绩编号
  175. /// </summary>
  176. [Description("实绩编号")]
  177. [Nullable(false)]
  178. [DataLength(20)]
  179. public string ResultNo
  180. {
  181. get { return resultNo; }
  182. set { resultNo = value; }
  183. }
  184. /// <summary>
  185. /// 产线代码
  186. /// </summary>
  187. [Description("产线代码")]
  188. [Nullable(false)]
  189. [DataLength(20)]
  190. public string PlineCode
  191. {
  192. get { return plineCode; }
  193. set { plineCode = value; }
  194. }
  195. [Description("产线")]
  196. public string PlineName
  197. {
  198. get { return plineName; }
  199. set { plineName = value; }
  200. }
  201. /// <summary>
  202. /// 工单号(炉次计划号+01流水)
  203. /// </summary>
  204. [Description("工单号")]
  205. [Nullable(false)]
  206. [DataLength(40)]
  207. public string WoId
  208. {
  209. get { return woId; }
  210. set { woId = value; }
  211. }
  212. /// <summary>
  213. /// 工序点代码(上料、切管、车丝。。。。)
  214. /// </summary>
  215. [Description("工序点代码")]
  216. [Nullable(false)]
  217. [DataLength(20)]
  218. public string StationCode
  219. {
  220. get { return stationCode; }
  221. set { stationCode = value; }
  222. }
  223. /// <summary>
  224. /// 工序点名称
  225. /// </summary>
  226. [Description("工序点")]
  227. [Nullable(true)]
  228. [DataLength(40)]
  229. public string StationDesc
  230. {
  231. get { return stationDesc; }
  232. set { stationDesc = value; }
  233. }
  234. /// <summary>
  235. /// 判定炉号
  236. /// </summary>
  237. [Description("判定炉号")]
  238. [Nullable(false)]
  239. [DataLength(6)]
  240. public string JudgeStoveNo
  241. {
  242. get { return judgeStoveNo; }
  243. set { judgeStoveNo = value; }
  244. }
  245. /// <summary>
  246. /// 批号(炉批号)
  247. /// </summary>
  248. [Description("批号")]
  249. [Nullable(false)]
  250. [DataLength(10)]
  251. public string BatchNo
  252. {
  253. get { return batchNo; }
  254. set { batchNo = value; }
  255. }
  256. /// <summary>
  257. /// 组号
  258. /// </summary>
  259. [Description("组号")]
  260. [Nullable(true)]
  261. [DataLength(3)]
  262. public string BatchGroudNo
  263. {
  264. get { return batchGroudNo; }
  265. set { batchGroudNo = value; }
  266. }
  267. /// <summary>
  268. /// 离线(支)个数
  269. /// </summary>
  270. [Description("离线个(支)")]
  271. [Nullable(true)]
  272. [DataLength(6)]
  273. public decimal? OfflineNum
  274. {
  275. get { return offlineNum; }
  276. set { offlineNum = value; }
  277. }
  278. /// <summary>
  279. /// 离线重量
  280. /// </summary>
  281. [Description("离线吨")]
  282. [Nullable(true)]
  283. [DataLength(8)]
  284. public decimal? OfflineWt
  285. {
  286. get { return offlineWt; }
  287. set { offlineWt = value; }
  288. }
  289. /// <summary>
  290. /// 是否委托(0否,1是,2全工序委托)
  291. /// </summary>
  292. [Description("是否委托")]
  293. [Nullable(true)]
  294. [DataLength(1)]
  295. public string IfAllOutWork
  296. {
  297. get { return ifAllOutWork; }
  298. set { ifAllOutWork = value; }
  299. }
  300. /// <summary>
  301. /// 粗加工类型(扒皮0、镗孔1)
  302. /// </summary>
  303. [Description("粗加工类型")]
  304. [Nullable(true)]
  305. [DataLength(1)]
  306. public string HarshType
  307. {
  308. get { return harshType; }
  309. set { harshType = value; }
  310. }
  311. /// <summary>
  312. /// 涂层类型(磷化、镀铜)
  313. /// </summary>
  314. [Description("涂层类型")]
  315. [Nullable(true)]
  316. [DataLength(1)]
  317. public string CoatingType
  318. {
  319. get { return coatingType; }
  320. set { coatingType = value; }
  321. }
  322. /// <summary>
  323. /// 机床编号
  324. /// </summary>
  325. [Description("机床编号")]
  326. [Nullable(true)]
  327. [DataLength(20)]
  328. public string MachineNo
  329. {
  330. get { return machineNo; }
  331. set { machineNo = value; }
  332. }
  333. /// <summary>
  334. /// 采集方式(0-接口采集,1-人工录入)
  335. /// </summary>
  336. [Description("录入方式")]
  337. [Nullable(true)]
  338. [DataLength(1)]
  339. public string ColMode
  340. {
  341. get { return colMode; }
  342. set { colMode = value; }
  343. }
  344. /// <summary>
  345. /// 采集/录入时间
  346. /// </summary>
  347. [Description("录入时间")]
  348. [Nullable(true)]
  349. public string ColTime
  350. {
  351. get { return colTime; }
  352. set { colTime = value; }
  353. }
  354. /// <summary>
  355. /// 操作人
  356. /// </summary>
  357. [Description("操作人")]
  358. [Nullable(true)]
  359. [DataLength(20)]
  360. public string ColUser
  361. {
  362. get { return colUser; }
  363. set { colUser = value; }
  364. }
  365. /// <summary>
  366. /// 操作班次
  367. /// </summary>
  368. [Description("班次")]
  369. [Nullable(true)]
  370. [DataLength(2)]
  371. public string ColShift
  372. {
  373. get { return colShift; }
  374. set { colShift = value; }
  375. }
  376. /// <summary>
  377. /// 操作班组
  378. /// </summary>
  379. [Description("班组")]
  380. [Nullable(true)]
  381. [DataLength(2)]
  382. public string ColGroup
  383. {
  384. get { return colGroup; }
  385. set { colGroup = value; }
  386. }
  387. /// <summary>
  388. /// 操作时间
  389. /// </summary>
  390. [Description("操作时间")]
  391. [Nullable(true)]
  392. public string CreateTime
  393. {
  394. get { return createTime; }
  395. set { createTime = value; }
  396. }
  397. /// <summary>
  398. /// 序号
  399. /// </summary>
  400. [Description("序号")]
  401. [Nullable(false)]
  402. [DataLength(3)]
  403. public string OffXh
  404. {
  405. get { return offXh; }
  406. set { offXh = value; }
  407. }
  408. /// <summary>
  409. /// 返线支数
  410. /// </summary>
  411. [Description("返线个")]
  412. [Nullable(true)]
  413. [DataLength(6)]
  414. public decimal? ReNum
  415. {
  416. get { return reNum; }
  417. set { reNum = value; }
  418. }
  419. /// <summary>
  420. /// 返线重量
  421. /// </summary>
  422. [Description("返线吨")]
  423. [Nullable(true)]
  424. [DataLength(8)]
  425. public decimal? ReWt
  426. {
  427. get { return reWt; }
  428. set { reWt = value; }
  429. }
  430. /// <summary>
  431. /// 返线工序点
  432. /// </summary>
  433. [Description("返线工序点")]
  434. [Nullable(true)]
  435. [DataLength(10)]
  436. public string ReturnProcess
  437. {
  438. get { return returnProcess; }
  439. set { returnProcess = value; }
  440. }
  441. /// <summary>
  442. /// 返线时间
  443. /// </summary>
  444. [Description("返线时间")]
  445. [Nullable(true)]
  446. public string ReTime
  447. {
  448. get { return reTime; }
  449. set { reTime = value; }
  450. }
  451. /// <summary>
  452. /// 返线人
  453. /// </summary>
  454. [Description("返线人")]
  455. [Nullable(true)]
  456. [DataLength(20)]
  457. public string ReName
  458. {
  459. get { return reName; }
  460. set { reName = value; }
  461. }
  462. /// <summary>
  463. /// 委外单号
  464. /// </summary>
  465. [Description("委外单号")]
  466. [Nullable(true)]
  467. [DataLength(20)]
  468. public string SubcontractNo
  469. {
  470. get { return subcontractNo; }
  471. set { subcontractNo = value; }
  472. }
  473. /// <summary>
  474. /// 委外单号序号
  475. /// </summary>
  476. [Description("委外单号序号")]
  477. [Nullable(true)]
  478. [DataLength(20)]
  479. public string SubcontractNoSeq
  480. {
  481. get { return subcontractNoSeq; }
  482. set { subcontractNoSeq = value; }
  483. }
  484. /// <summary>
  485. /// 委外支数
  486. /// </summary>
  487. [Description("委外个")]
  488. [Nullable(true)]
  489. [DataLength(6)]
  490. public decimal? SubcontractNum
  491. {
  492. get { return subcontractNum; }
  493. set { subcontractNum = value; }
  494. }
  495. /// <summary>
  496. /// 委外重量
  497. /// </summary>
  498. [Description("委外吨")]
  499. [Nullable(true)]
  500. [DataLength(8)]
  501. public decimal? SubcontractWt
  502. {
  503. get { return subcontractWt; }
  504. set { subcontractWt = value; }
  505. }
  506. /// <summary>
  507. /// 委外时间
  508. /// </summary>
  509. [Description("委外时间")]
  510. [Nullable(true)]
  511. public string SubcontractTime
  512. {
  513. get { return subcontractTime; }
  514. set { subcontractTime = value; }
  515. }
  516. /// <summary>
  517. /// 委外人
  518. /// </summary>
  519. [Description("委外人")]
  520. [Nullable(true)]
  521. [DataLength(20)]
  522. public string SubcontractName
  523. {
  524. get { return subcontractName; }
  525. set { subcontractName = value; }
  526. }
  527. /// <summary>
  528. /// 委外回报合格支数
  529. /// </summary>
  530. [Description("委外回报合格个")]
  531. [Nullable(true)]
  532. [DataLength(6)]
  533. public decimal? SubcontractcompleteNum
  534. {
  535. get { return subcontractcompleteNum; }
  536. set { subcontractcompleteNum = value; }
  537. }
  538. /// <summary>
  539. /// 委外回报合格重量
  540. /// </summary>
  541. [Description("委外回报合格吨")]
  542. [Nullable(true)]
  543. [DataLength(8)]
  544. public decimal? SubcontractcompleteWt
  545. {
  546. get { return subcontractcompleteWt; }
  547. set { subcontractcompleteWt = value; }
  548. }
  549. /// <summary>
  550. /// 委外回报废品支数
  551. /// </summary>
  552. [Description("委外回报废品个")]
  553. [Nullable(true)]
  554. [DataLength(6)]
  555. public decimal? HbFpNum
  556. {
  557. get { return hbFpNum; }
  558. set { hbFpNum = value; }
  559. }
  560. /// <summary>
  561. /// 委外回报废品重量
  562. /// </summary>
  563. [Description("委外回报废品吨")]
  564. [Nullable(true)]
  565. [DataLength(8)]
  566. public decimal? HbFpWt
  567. {
  568. get { return hbFpWt; }
  569. set { hbFpWt = value; }
  570. }
  571. /// <summary>
  572. /// 委外回报时间
  573. /// </summary>
  574. [Description("委外回报时间")]
  575. [Nullable(true)]
  576. public string SubcontractcompleteTime
  577. {
  578. get { return subcontractcompleteTime; }
  579. set { subcontractcompleteTime = value; }
  580. }
  581. /// <summary>
  582. /// 委外回报人
  583. /// </summary>
  584. [Description("委外回报人")]
  585. [Nullable(true)]
  586. [DataLength(20)]
  587. public string SubcontractcompleteName
  588. {
  589. get { return subcontractcompleteName; }
  590. set { subcontractcompleteName = value; }
  591. }
  592. /// <summary>
  593. /// 离线备注
  594. /// </summary>
  595. [Description("离线备注")]
  596. [Nullable(true)]
  597. [DataLength(200)]
  598. public string Memo
  599. {
  600. get { return memo; }
  601. set { memo = value; }
  602. }
  603. private decimal? offlineNumBj =null;
  604. [Description("离线编辑个(支)")]
  605. public decimal? OfflineNumBj
  606. {
  607. get { return offlineNumBj; }
  608. set { offlineNumBj = value; }
  609. }
  610. private string returnProcessDes = "";
  611. [Description("返线工序点")]
  612. public string ReturnProcessDes
  613. {
  614. get { return returnProcessDes; }
  615. set { returnProcessDes = value; }
  616. }
  617. }
  618. }