MatBcMEntityDbk.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
  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.PlnSaleOrd.炉计划.Entity
  8. {
  9. /// <summary>
  10. /// 数据库表MAT_BC_M所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:PC-20180117CCCC 时间:2018-03-09
  12. /// </summary>
  13. public class MatBcMEntityDbk
  14. {
  15. /// <summary>
  16. /// 材料类别(8014在制品、成品、商品)
  17. /// </summary>
  18. private string productFlag = "";
  19. /// <summary>
  20. /// 材料状态(801501在制品阶段、801502成品、801503商品...)
  21. /// </summary>
  22. private string matStatus = "";
  23. /// <summary>
  24. /// 熔炼炉号
  25. /// </summary>
  26. private string stoveNo = "";
  27. /// <summary>
  28. /// 判定炉号
  29. /// </summary>
  30. private string judgeStoveNo = "";
  31. /// <summary>
  32. /// 批号(炉批号)
  33. /// </summary>
  34. private string batchNo = "";
  35. /// <summary>
  36. /// 组号(规格分的组号)--炉批行----性能批号(重点)---
  37. /// </summary>
  38. private string batchGroudNo = "";
  39. /// <summary>
  40. /// 物料码
  41. /// </summary>
  42. private string materialNo = "";
  43. /// <summary>
  44. /// 物料描叙
  45. /// </summary>
  46. private string materialName = "";
  47. /// <summary>
  48. /// 品名描述
  49. /// </summary>
  50. private string producname = "";
  51. /// <summary>
  52. /// 钢级(牌号)名称
  53. /// </summary>
  54. private string steelname = "";
  55. /// <summary>
  56. /// 钢种名称
  57. /// </summary>
  58. private string gradename = "";
  59. /// <summary>
  60. /// 产品规格描述
  61. /// </summary>
  62. private string specName = "";
  63. /// <summary>
  64. /// 扣型描述
  65. /// </summary>
  66. private string modelDesc = "";
  67. /// <summary>
  68. /// 标准名称
  69. /// </summary>
  70. private string stdName = "";
  71. /// <summary>
  72. /// 标准类别描述(PSL1....)
  73. /// </summary>
  74. private string stdStyleDesc = "";
  75. /// <summary>
  76. /// 生产产线名称
  77. /// </summary>
  78. private string plineName = "";
  79. /// <summary>
  80. /// 生产产线代码
  81. /// </summary>
  82. private string plineCode = "";
  83. /// <summary>
  84. /// 外径(实际)
  85. /// </summary>
  86. private decimal? actDimater = null;
  87. /// <summary>
  88. /// 壁厚(实际)
  89. /// </summary>
  90. private decimal? actHeight = null;
  91. /// <summary>
  92. /// 长度(实际)
  93. /// </summary>
  94. private decimal? actLen = null;
  95. /// <summary>
  96. /// 长度下限(实际)
  97. /// </summary>
  98. private string actLenMin = "";
  99. /// <summary>
  100. /// 长度上限(实际)
  101. /// </summary>
  102. private string actLenMax = "";
  103. /// <summary>
  104. /// 材料支数(实际)
  105. /// </summary>
  106. private decimal? actCount = null;
  107. /// <summary>
  108. /// 材料实重(实际)
  109. /// </summary>
  110. private decimal? actWeight = null;
  111. /// <summary>
  112. /// 材料理论重量(实际)
  113. /// </summary>
  114. private decimal? actTheoryWeight = null;
  115. /// <summary>
  116. /// 所属权单位代码
  117. /// </summary>
  118. private string belongCode = "";
  119. /// <summary>
  120. /// 所属权单位
  121. /// </summary>
  122. private string belongName = "";
  123. /// <summary>
  124. /// 合同主键
  125. /// </summary>
  126. private string ordPk = "";
  127. /// <summary>
  128. /// 合同行主键
  129. /// </summary>
  130. private string ordLnPk = "";
  131. /// <summary>
  132. /// 交货行主键
  133. /// </summary>
  134. private string ordLnDlyPk = "";
  135. /// <summary>
  136. /// [轧管工序]判定单号
  137. /// </summary>
  138. private string jugdeConvicted = "";
  139. /// <summary>
  140. /// [轧管工序]生产产线名称
  141. /// </summary>
  142. private string zgPlineName = "";
  143. /// <summary>
  144. /// [镦拔扩工序]生产产线名称
  145. /// </summary>
  146. private string vrpPlineName = "";
  147. private string storageNo = "";
  148. private string storageName = "";
  149. private string instockTime = "";
  150. /// <summary>
  151. /// 入库时间
  152. /// </summary>
  153. [Description("入库时间")]
  154. [Nullable(true)]
  155. [DataLength(10)]
  156. public string InstockTime
  157. {
  158. get { return instockTime; }
  159. set { instockTime = value; }
  160. }
  161. /// <summary>
  162. /// 仓库地点
  163. /// </summary>
  164. [Description("仓库代码")]
  165. [Nullable(true)]
  166. [DataLength(10)]
  167. public string StorageNo
  168. {
  169. get { return storageNo; }
  170. set { storageNo = value; }
  171. }
  172. /// <summary>
  173. /// 仓库地点
  174. /// </summary>
  175. [Description("仓库地点")]
  176. [Nullable(true)]
  177. [DataLength(10)]
  178. public string StorageName
  179. {
  180. get { return storageName; }
  181. set { storageName = value; }
  182. }
  183. /// <summary>
  184. /// 材料类别(8014在制品、成品、商品)
  185. /// </summary>
  186. [Description("材料类别")]
  187. [Nullable(true)]
  188. [DataLength(10)]
  189. public string ProductFlag
  190. {
  191. get { return productFlag; }
  192. set { productFlag = value; }
  193. }
  194. /// <summary>
  195. /// 材料状态(801501在制品阶段、801502成品、801503商品...)
  196. /// </summary>
  197. [Description("材料状态")]
  198. [Nullable(true)]
  199. [DataLength(10)]
  200. public string MatStatus
  201. {
  202. get { return matStatus; }
  203. set { matStatus = value; }
  204. }
  205. /// <summary>
  206. /// 熔炼炉号
  207. /// </summary>
  208. [Description("熔炼炉号")]
  209. [Nullable(true)]
  210. [DataLength(20)]
  211. public string StoveNo
  212. {
  213. get { return stoveNo; }
  214. set { stoveNo = value; }
  215. }
  216. /// <summary>
  217. /// 判定炉号
  218. /// </summary>
  219. [Description("判定炉号")]
  220. [Nullable(true)]
  221. [DataLength(6)]
  222. public string JudgeStoveNo
  223. {
  224. get { return judgeStoveNo; }
  225. set { judgeStoveNo = value; }
  226. }
  227. /// <summary>
  228. /// 批号(炉批号)
  229. /// </summary>
  230. [Description("批号")]
  231. [Nullable(true)]
  232. [DataLength(20)]
  233. public string BatchNo
  234. {
  235. get { return batchNo; }
  236. set { batchNo = value; }
  237. }
  238. /// <summary>
  239. /// 组号(规格分的组号)--炉批行----性能批号(重点)---
  240. /// </summary>
  241. [Description("组号")]
  242. [Nullable(true)]
  243. [DataLength(3)]
  244. public string BatchGroudNo
  245. {
  246. get { return batchGroudNo; }
  247. set { batchGroudNo = value; }
  248. }
  249. /// <summary>
  250. /// 物料码
  251. /// </summary>
  252. [Description("物料码")]
  253. [Nullable(true)]
  254. [DataLength(40)]
  255. public string MaterialNo
  256. {
  257. get { return materialNo; }
  258. set { materialNo = value; }
  259. }
  260. /// <summary>
  261. /// 物料描叙
  262. /// </summary>
  263. [Description("物料")]
  264. [Nullable(true)]
  265. [DataLength(100)]
  266. public string MaterialName
  267. {
  268. get { return materialName; }
  269. set { materialName = value; }
  270. }
  271. /// <summary>
  272. /// 品名描述
  273. /// </summary>
  274. [Description("品名")]
  275. [Nullable(true)]
  276. [DataLength(100)]
  277. public string Producname
  278. {
  279. get { return producname; }
  280. set { producname = value; }
  281. }
  282. /// <summary>
  283. /// 钢级(牌号)名称
  284. /// </summary>
  285. [Description("钢级")]
  286. [Nullable(true)]
  287. [DataLength(100)]
  288. public string Steelname
  289. {
  290. get { return steelname; }
  291. set { steelname = value; }
  292. }
  293. /// <summary>
  294. /// 钢种名称
  295. /// </summary>
  296. [Description("钢种")]
  297. [Nullable(true)]
  298. [DataLength(100)]
  299. public string Gradename
  300. {
  301. get { return gradename; }
  302. set { gradename = value; }
  303. }
  304. /// <summary>
  305. /// 产品规格描述
  306. /// </summary>
  307. [Description("规格")]
  308. [Nullable(true)]
  309. [DataLength(100)]
  310. public string SpecName
  311. {
  312. get { return specName; }
  313. set { specName = value; }
  314. }
  315. /// <summary>
  316. /// 扣型描述
  317. /// </summary>
  318. [Description("扣型")]
  319. [Nullable(true)]
  320. [DataLength(100)]
  321. public string ModelDesc
  322. {
  323. get { return modelDesc; }
  324. set { modelDesc = value; }
  325. }
  326. /// <summary>
  327. /// 标准名称
  328. /// </summary>
  329. [Description("标准名称")]
  330. [Nullable(true)]
  331. [DataLength(256)]
  332. public string StdName
  333. {
  334. get { return stdName; }
  335. set { stdName = value; }
  336. }
  337. /// <summary>
  338. /// 标准类别描述(PSL1....)
  339. /// </summary>
  340. [Description("标准类别")]
  341. [Nullable(true)]
  342. [DataLength(50)]
  343. public string StdStyleDesc
  344. {
  345. get { return stdStyleDesc; }
  346. set { stdStyleDesc = value; }
  347. }
  348. private string OrderSeqNo = "";
  349. /// <summary>
  350. /// 合同行号
  351. /// </summary>
  352. [Description("合同号")]
  353. [Nullable(true)]
  354. [DataLength(3)]
  355. public string orderSeqNo
  356. {
  357. get { return OrderSeqNo; }
  358. set { OrderSeqNo = value; }
  359. }
  360. /// <summary>
  361. /// 生产产线名称
  362. /// </summary>
  363. [Description("产线")]
  364. [Nullable(true)]
  365. [DataLength(100)]
  366. public string PlineName
  367. {
  368. get { return plineName; }
  369. set { plineName = value; }
  370. }
  371. /// <summary>
  372. /// 产线代码
  373. /// </summary>
  374. [Description("产线代码")]
  375. [Nullable(true)]
  376. [DataLength(100)]
  377. public string PlineCode
  378. {
  379. get { return plineCode; }
  380. set { plineCode = value; }
  381. }
  382. /// <summary>
  383. /// 外径(实际)
  384. /// </summary>
  385. [Description("外径")]
  386. [Nullable(true)]
  387. [DataLength(5)]
  388. public decimal? ActDimater
  389. {
  390. get { return actDimater; }
  391. set { actDimater = value; }
  392. }
  393. /// <summary>
  394. /// 壁厚(实际)
  395. /// </summary>
  396. [Description("壁厚")]
  397. [Nullable(true)]
  398. [DataLength(5)]
  399. public decimal? ActHeight
  400. {
  401. get { return actHeight; }
  402. set { actHeight = value; }
  403. }
  404. /// <summary>
  405. /// 长度(实际)
  406. /// </summary>
  407. [Description("长度")]
  408. [Nullable(true)]
  409. [DataLength(9)]
  410. public decimal? ActLen
  411. {
  412. get { return actLen; }
  413. set { actLen = value; }
  414. }
  415. /// <summary>
  416. /// 长度下限(实际)
  417. /// </summary>
  418. [Description("长度下限")]
  419. [Nullable(true)]
  420. [DataLength(10)]
  421. public string ActLenMin
  422. {
  423. get { return actLenMin; }
  424. set { actLenMin = value; }
  425. }
  426. /// <summary>
  427. /// 长度上限(实际)
  428. /// </summary>
  429. [Description("长度上限")]
  430. [Nullable(true)]
  431. [DataLength(10)]
  432. public string ActLenMax
  433. {
  434. get { return actLenMax; }
  435. set { actLenMax = value; }
  436. }
  437. /// <summary>
  438. /// 材料支数(实际)
  439. /// </summary>
  440. [Description("支数(库存)")]
  441. [Nullable(true)]
  442. [DataLength(5)]
  443. public decimal? ActCount
  444. {
  445. get { return actCount; }
  446. set { actCount = value; }
  447. }
  448. /// <summary>
  449. /// 材料实重(实际)
  450. /// </summary>
  451. [Description("实重(库存)")]
  452. [Nullable(true)]
  453. [DataLength(11)]
  454. public decimal? ActWeight
  455. {
  456. get { return actWeight; }
  457. set { actWeight = value; }
  458. }
  459. /// <summary>
  460. /// 材料理论重量(实际)
  461. /// </summary>
  462. [Description("理量")]
  463. [Nullable(true)]
  464. [DataLength(11)]
  465. public decimal? ActTheoryWeight
  466. {
  467. get { return actTheoryWeight; }
  468. set { actTheoryWeight = value; }
  469. }
  470. /// <summary>
  471. /// 所属权单位代码
  472. /// </summary>
  473. [Description("所属权单位代码")]
  474. [Nullable(true)]
  475. [DataLength(40)]
  476. public string BelongCode
  477. {
  478. get { return belongCode; }
  479. set { belongCode = value; }
  480. }
  481. /// <summary>
  482. /// 所属权单位
  483. /// </summary>
  484. [Description("所属权单位")]
  485. [Nullable(true)]
  486. [DataLength(50)]
  487. public string BelongName
  488. {
  489. get { return belongName; }
  490. set { belongName = value; }
  491. }
  492. /// <summary>
  493. /// 合同主键
  494. /// </summary>
  495. [Description("合同主键")]
  496. [Nullable(true)]
  497. [DataLength(40)]
  498. public string OrdPk
  499. {
  500. get { return ordPk; }
  501. set { ordPk = value; }
  502. }
  503. /// <summary>
  504. /// 合同行主键
  505. /// </summary>
  506. [Description("合同行主键")]
  507. [Nullable(true)]
  508. [DataLength(40)]
  509. public string OrdLnPk
  510. {
  511. get { return ordLnPk; }
  512. set { ordLnPk = value; }
  513. }
  514. /// <summary>
  515. /// 交货行主键
  516. /// </summary>
  517. [Description("交货行主键")]
  518. [Nullable(true)]
  519. [DataLength(50)]
  520. public string OrdLnDlyPk
  521. {
  522. get { return ordLnDlyPk; }
  523. set { ordLnDlyPk = value; }
  524. }
  525. private string heatPlanNo = "";
  526. /// <summary>
  527. /// [轧管工序]轧管炉次计划号
  528. /// </summary>
  529. [Description("[上工序]炉计划号")]
  530. [Nullable(true)]
  531. [DataLength(20)]
  532. public string HeatPlanNo
  533. {
  534. get { return heatPlanNo; }
  535. set { heatPlanNo = value; }
  536. }
  537. private string onProOrderId = "";
  538. /// <summary>
  539. /// [轧管工序]工序订单1排产序号
  540. /// </summary>
  541. [Description("[上工序]订单号")]
  542. [Nullable(true)]
  543. [DataLength(10)]
  544. public string OnProOrderId
  545. {
  546. get { return onProOrderId; }
  547. set { onProOrderId = value; }
  548. }
  549. private string undProOrderId = "";
  550. /// [镦拔扩]订单号
  551. /// </summary>
  552. [Description("[本工序]订单号")]
  553. [Nullable(true)]
  554. [DataLength(20)]
  555. public string UndProOrderId
  556. {
  557. get { return undProOrderId; }
  558. set { undProOrderId = value; }
  559. }
  560. /// <summary>
  561. /// 利库/脱单支
  562. /// </summary>
  563. private string takeCount = "";
  564. /// <summary>
  565. ///利库/脱单吨
  566. /// </summary>
  567. private decimal? takeWeight = null;
  568. /// <summary>
  569. /// 利库/脱单支
  570. /// </summary>
  571. [Description("利库/脱单支")]
  572. public string TakeCount
  573. {
  574. get { return takeCount; }
  575. set { takeCount = value; }
  576. }
  577. /// <summary>
  578. /// 利库/脱单吨
  579. /// </summary>
  580. [Description("利库/脱单吨")]
  581. public decimal? TakeWeight
  582. {
  583. get { return takeWeight; }
  584. set { takeWeight = value; }
  585. }
  586. private string proOrderNo = "";
  587. [Description("生产合同号")]
  588. public string ProOrderNo
  589. {
  590. get { return proOrderNo; }
  591. set { proOrderNo = value; }
  592. }
  593. private string cic = "";
  594. [Description("库存CIC")]
  595. public string Cic
  596. {
  597. get { return cic; }
  598. set { cic = value; }
  599. }
  600. private string specCic = "";
  601. [Description("指定CIC")]
  602. public string SpecCic
  603. {
  604. get { return specCic; }
  605. set { specCic = value; }
  606. }
  607. private string codeJgBl = "";
  608. [Description("备料码")]
  609. public string CodeJgBl
  610. {
  611. get { return codeJgBl; }
  612. set { codeJgBl = value; }
  613. }
  614. private string crafNo = "";
  615. [Description("工艺文件号")]
  616. public string CrafNo
  617. {
  618. get { return crafNo; }
  619. set { crafNo = value; }
  620. }
  621. private string judgeResult = "";
  622. [Description("综合判定结果")]
  623. public string JudgeResult
  624. {
  625. get { return judgeResult; }
  626. set { judgeResult = value; }
  627. }
  628. private string memo = "";
  629. [Description("备注")]
  630. public string Memo
  631. {
  632. get { return memo; }
  633. set { memo = value; }
  634. }
  635. private string mark = "";
  636. [Description("标示")]
  637. public string Mark
  638. {
  639. get { return mark; }
  640. set { mark = value; }
  641. }
  642. }
  643. }