PlnReqinfGpEntity.cs 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using Core.Mes.Client.Comm.Attribute;
  7. namespace Core.StlMes.Client.PlnSaleOrd.Entity
  8. {
  9. /// <summary>
  10. /// 数据库表PLN_REQINF_GP所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:USER-20150714WV 时间:2015-11-18
  12. /// </summary>
  13. public class PlnReqinfGpEntity
  14. {
  15. private string finishweight;
  16. [Description("生产完成重量")]
  17. public string Finishweight
  18. {
  19. get { return finishweight; }
  20. set { finishweight = value; }
  21. }
  22. /// <summary>
  23. /// 管坯需求编号
  24. /// </summary>
  25. private string gpreqId = "";
  26. /// <summary>
  27. /// 排产联动组号
  28. /// </summary>
  29. private string planGroupId = "";
  30. /// <summary>
  31. /// 是否末端工序
  32. /// </summary>
  33. private string isendgx = "";
  34. /// <summary>
  35. /// 下一工序
  36. /// </summary>
  37. private string nextGx = "";
  38. /// <summary>
  39. /// 是否工序补量合同(末工序不能为1)
  40. /// </summary>
  41. private string isExtraOrd = "";
  42. /// <summary>
  43. /// 合同来源(销售合同、备料需求、补量需求)
  44. /// </summary>
  45. private string orderSource = "";
  46. /// <summary>
  47. /// 交货编码PK
  48. /// </summary>
  49. private string ordLnDlyPk = "";
  50. /// <summary>
  51. /// 排产流水号
  52. /// </summary>
  53. private string plnDivideId = "";
  54. /// <summary>
  55. /// 合同号
  56. /// </summary>
  57. private string orderNo = "";
  58. /// <summary>
  59. /// 合同行号
  60. /// </summary>
  61. private string orderSeq = "";
  62. /// <summary>
  63. /// 交货编码
  64. /// </summary>
  65. private string deliveryNo = "";
  66. /// <summary>
  67. /// 备料需求号
  68. /// </summary>
  69. private string reqBlId = "";
  70. /// <summary>
  71. /// 客户编号
  72. /// </summary>
  73. private string buyerId = "";
  74. /// <summary>
  75. /// 客户名称
  76. /// </summary>
  77. private string buyerName = "";
  78. /// <summary>
  79. /// 产品规范码
  80. /// </summary>
  81. private string psc = "";
  82. /// <summary>
  83. /// 冶金规范码
  84. /// </summary>
  85. private string msc = "";
  86. /// <summary>
  87. /// 制程索引号
  88. /// </summary>
  89. private string indexSeq = "";
  90. /// <summary>
  91. /// 管坯类型(连铸坯、锻坯、轧坯)
  92. /// </summary>
  93. private string gptype = "";
  94. /// <summary>
  95. /// 铸造类型(连铸、模铸)
  96. /// </summary>
  97. private string castingtype = "";
  98. /// <summary>
  99. /// 可选铸造产线编码
  100. /// </summary>
  101. private string plineCodeMay = "";
  102. /// <summary>
  103. /// 可选铸造产线描述
  104. /// </summary>
  105. private string plineNameMay = "";
  106. /// <summary>
  107. /// 钢级(牌号)代码
  108. /// </summary>
  109. private string steelcode = "";
  110. /// <summary>
  111. /// 钢级(牌号)名称
  112. /// </summary>
  113. private string steelname = "";
  114. /// <summary>
  115. /// 钢种代码
  116. /// </summary>
  117. private string gradecode = "";
  118. /// <summary>
  119. /// 钢种名称
  120. /// </summary>
  121. private string gradename = "";
  122. /// <summary>
  123. /// 连铸坯直径
  124. /// </summary>
  125. private decimal? diameterLz = null;
  126. /// <summary>
  127. /// 连铸坯长度
  128. /// </summary>
  129. private decimal? lengthLz = null;
  130. /// <summary>
  131. /// 铸造坯物料编码
  132. /// </summary>
  133. private string materialNo = "";
  134. /// <summary>
  135. /// 物料描述
  136. /// </summary>
  137. private string materialName = "";
  138. /// <summary>
  139. /// 炼钢工艺码
  140. /// </summary>
  141. private string craftcode = "";
  142. /// <summary>
  143. /// 成分标准索引号集合(内控)
  144. /// </summary>
  145. private string cic = "";
  146. /// <summary>
  147. /// 内控标准代码
  148. /// </summary>
  149. private string stdCodeNk = "";
  150. /// <summary>
  151. /// 内控标准名称
  152. /// </summary>
  153. private string stdNameNk = "";
  154. /// <summary>
  155. /// 是否炼钢监制
  156. /// </summary>
  157. private string ifMonitorLg = "";
  158. /// <summary>
  159. /// 监制编号
  160. /// </summary>
  161. private string prdcrNo = "";
  162. /// <summary>
  163. /// 铸造坯单重(模铸为铸锭单重)
  164. /// </summary>
  165. private decimal? wtCastOne = null;
  166. /// <summary>
  167. /// 铸造坯需求重量
  168. /// </summary>
  169. private decimal? castWeight = null;
  170. /// <summary>
  171. /// 铸造坯需求支数
  172. /// </summary>
  173. private decimal? castNum = null;
  174. /// <summary>
  175. /// 铸造坯利库量
  176. /// </summary>
  177. private decimal? matchWeight = null;
  178. /// <summary>
  179. /// 铸造坯利库支数
  180. /// </summary>
  181. private decimal? matchNum = null;
  182. /// <summary>
  183. /// 有无采购计划
  184. /// </summary>
  185. private string ifbuyplan = "";
  186. /// <summary>
  187. /// 采购计划号
  188. /// </summary>
  189. private string buyplanid = "";
  190. /// <summary>
  191. /// 采购计划量
  192. /// </summary>
  193. private decimal? buyplanweight = null;
  194. /// <summary>
  195. /// 炼钢计划重量
  196. /// </summary>
  197. private decimal? ppcLgWeight = null;
  198. /// <summary>
  199. /// 炼钢计划支数
  200. /// </summary>
  201. private decimal? ppcLgNum = null;
  202. /// <summary>
  203. /// 需求状态(1计划,2排产,3生产中,4生产完成,5关闭,6取消,9封闭)
  204. /// </summary>
  205. private string reqStatus = "";
  206. /// <summary>
  207. /// 备注
  208. /// </summary>
  209. private string memo = "";
  210. /// <summary>
  211. /// 创建人
  212. /// </summary>
  213. private string createName = "";
  214. /// <summary>
  215. /// 创建时间
  216. /// </summary>
  217. private string createTime = "";
  218. /// <summary>
  219. /// 修改人
  220. /// </summary>
  221. private string updateName = "";
  222. /// <summary>
  223. /// 修改时间
  224. /// </summary>
  225. private string updateTime = "";
  226. /// <summary>
  227. /// 管坯需求编号
  228. /// </summary>
  229. [Description("管坯需求编号")]
  230. [Nullable(false)]
  231. [DataLength(20)]
  232. public string GpreqId
  233. {
  234. get { return gpreqId; }
  235. set { gpreqId = value; }
  236. }
  237. /// <summary>
  238. /// 排产联动组号
  239. /// </summary>
  240. [Description("排产联动组号")]
  241. [Nullable(true)]
  242. [DataLength(40)]
  243. public string PlanGroupId
  244. {
  245. get { return planGroupId; }
  246. set { planGroupId = value; }
  247. }
  248. /// <summary>
  249. /// 是否末端工序
  250. /// </summary>
  251. [Description("是否末端工序")]
  252. [Nullable(true)]
  253. [DataLength(1)]
  254. public string Isendgx
  255. {
  256. get { return isendgx; }
  257. set { isendgx = value; }
  258. }
  259. /// <summary>
  260. /// 下一工序
  261. /// </summary>
  262. [Description("下一工序")]
  263. [Nullable(true)]
  264. [DataLength(20)]
  265. public string NextGx
  266. {
  267. get { return nextGx; }
  268. set { nextGx = value; }
  269. }
  270. /// <summary>
  271. /// 是否工序补量合同(末工序不能为1)
  272. /// </summary>
  273. [Description("是否工序补量合同")]
  274. [Nullable(true)]
  275. [DataLength(1)]
  276. public string IsExtraOrd
  277. {
  278. get { return isExtraOrd; }
  279. set { isExtraOrd = value; }
  280. }
  281. /// <summary>
  282. /// 合同来源(销售合同、备料需求、补量需求)
  283. /// </summary>
  284. [Description("合同来源")]
  285. [Nullable(true)]
  286. [DataLength(20)]
  287. public string OrderSource
  288. {
  289. get { return orderSource; }
  290. set { orderSource = value; }
  291. }
  292. /// <summary>
  293. /// 交货编码PK
  294. /// </summary>
  295. [Description("交货编码PK")]
  296. [Nullable(false)]
  297. [DataLength(40)]
  298. public string OrdLnDlyPk
  299. {
  300. get { return ordLnDlyPk; }
  301. set { ordLnDlyPk = value; }
  302. }
  303. /// <summary>
  304. /// 排产流水号
  305. /// </summary>
  306. [Description("排产流水号")]
  307. [Nullable(false)]
  308. [DataLength(10)]
  309. public string PlnDivideId
  310. {
  311. get { return plnDivideId; }
  312. set { plnDivideId = value; }
  313. }
  314. /// <summary>
  315. /// 合同号
  316. /// </summary>
  317. [Description("合同号")]
  318. [Nullable(true)]
  319. [DataLength(20)]
  320. public string OrderNo
  321. {
  322. get { return orderNo; }
  323. set { orderNo = value; }
  324. }
  325. /// <summary>
  326. /// 合同行号
  327. /// </summary>
  328. [Description("合同行号")]
  329. [Nullable(true)]
  330. [DataLength(3)]
  331. public string OrderSeq
  332. {
  333. get { return orderSeq; }
  334. set { orderSeq = value; }
  335. }
  336. /// <summary>
  337. /// 交货编码
  338. /// </summary>
  339. [Description("交货行号")]
  340. [Nullable(true)]
  341. [DataLength(3)]
  342. public string DeliveryNo
  343. {
  344. get { return deliveryNo; }
  345. set { deliveryNo = value; }
  346. }
  347. /// <summary>
  348. /// 备料需求号
  349. /// </summary>
  350. [Description("备料需求号")]
  351. [Nullable(true)]
  352. [DataLength(20)]
  353. public string ReqBlId
  354. {
  355. get { return reqBlId; }
  356. set { reqBlId = value; }
  357. }
  358. /// <summary>
  359. /// 客户编号
  360. /// </summary>
  361. [Description("客户编号")]
  362. [Nullable(true)]
  363. [DataLength(20)]
  364. public string BuyerId
  365. {
  366. get { return buyerId; }
  367. set { buyerId = value; }
  368. }
  369. /// <summary>
  370. /// 客户名称
  371. /// </summary>
  372. [Description("客户名称")]
  373. [Nullable(true)]
  374. [DataLength(100)]
  375. public string BuyerName
  376. {
  377. get { return buyerName; }
  378. set { buyerName = value; }
  379. }
  380. /// <summary>
  381. /// 产品规范码
  382. /// </summary>
  383. [Description("产品规范码")]
  384. [Nullable(true)]
  385. [DataLength(20)]
  386. public string Psc
  387. {
  388. get { return psc; }
  389. set { psc = value; }
  390. }
  391. /// <summary>
  392. /// 冶金规范码
  393. /// </summary>
  394. [Description("冶金规范码")]
  395. [Nullable(true)]
  396. [DataLength(20)]
  397. public string Msc
  398. {
  399. get { return msc; }
  400. set { msc = value; }
  401. }
  402. /// <summary>
  403. /// 制程索引号
  404. /// </summary>
  405. [Description("制程索引号")]
  406. [Nullable(true)]
  407. [DataLength(32)]
  408. public string IndexSeq
  409. {
  410. get { return indexSeq; }
  411. set { indexSeq = value; }
  412. }
  413. /// <summary>
  414. /// 管坯类型(连铸坯、锻坯、轧坯)
  415. /// </summary>
  416. [Description("管坯类型")]
  417. [Nullable(true)]
  418. [DataLength(20)]
  419. public string Gptype
  420. {
  421. get { return gptype; }
  422. set { gptype = value; }
  423. }
  424. /// <summary>
  425. /// 铸造类型(连铸、模铸)
  426. /// </summary>
  427. [Description("铸造类型")]
  428. [Nullable(true)]
  429. [DataLength(20)]
  430. public string Castingtype
  431. {
  432. get { return castingtype; }
  433. set { castingtype = value; }
  434. }
  435. /// <summary>
  436. /// 可选铸造产线编码
  437. /// </summary>
  438. [Description("可选铸造产线编码")]
  439. [Nullable(true)]
  440. [DataLength(100)]
  441. public string PlineCodeMay
  442. {
  443. get { return plineCodeMay; }
  444. set { plineCodeMay = value; }
  445. }
  446. /// <summary>
  447. /// 可选铸造产线描述
  448. /// </summary>
  449. [Description("可选铸造产线描述")]
  450. [Nullable(true)]
  451. [DataLength(400)]
  452. public string PlineNameMay
  453. {
  454. get { return plineNameMay; }
  455. set { plineNameMay = value; }
  456. }
  457. /// <summary>
  458. /// 钢级(牌号)代码
  459. /// </summary>
  460. [Description("钢级(牌号)代码")]
  461. [Nullable(true)]
  462. [DataLength(10)]
  463. public string Steelcode
  464. {
  465. get { return steelcode; }
  466. set { steelcode = value; }
  467. }
  468. /// <summary>
  469. /// 钢级(牌号)名称
  470. /// </summary>
  471. [Description("钢级(牌号)名称")]
  472. [Nullable(true)]
  473. [DataLength(100)]
  474. public string Steelname
  475. {
  476. get { return steelname; }
  477. set { steelname = value; }
  478. }
  479. /// <summary>
  480. /// 钢种代码
  481. /// </summary>
  482. [Description("钢种代码")]
  483. [Nullable(true)]
  484. [DataLength(10)]
  485. public string Gradecode
  486. {
  487. get { return gradecode; }
  488. set { gradecode = value; }
  489. }
  490. /// <summary>
  491. /// 钢种名称
  492. /// </summary>
  493. [Description("钢种名称")]
  494. [Nullable(true)]
  495. [DataLength(100)]
  496. public string Gradename
  497. {
  498. get { return gradename; }
  499. set { gradename = value; }
  500. }
  501. /// <summary>
  502. /// 连铸坯直径
  503. /// </summary>
  504. [Description("连铸坯直径")]
  505. [Nullable(true)]
  506. [DataLength(10)]
  507. public decimal? DiameterLz
  508. {
  509. get { return diameterLz; }
  510. set { diameterLz = value; }
  511. }
  512. /// <summary>
  513. /// 连铸坯长度
  514. /// </summary>
  515. [Description("连铸坯长度")]
  516. [Nullable(true)]
  517. [DataLength(10)]
  518. public decimal? LengthLz
  519. {
  520. get { return lengthLz; }
  521. set { lengthLz = value; }
  522. }
  523. /// <summary>
  524. /// 铸造坯物料编码
  525. /// </summary>
  526. [Description("铸造坯物料编码")]
  527. [Nullable(true)]
  528. [DataLength(40)]
  529. public string MaterialNo
  530. {
  531. get { return materialNo; }
  532. set { materialNo = value; }
  533. }
  534. /// <summary>
  535. /// 物料描述
  536. /// </summary>
  537. [Description("物料描述")]
  538. [Nullable(true)]
  539. [DataLength(100)]
  540. public string MaterialName
  541. {
  542. get { return materialName; }
  543. set { materialName = value; }
  544. }
  545. /// <summary>
  546. /// 炼钢工艺码
  547. /// </summary>
  548. [Description("炼钢工艺码")]
  549. [Nullable(true)]
  550. [DataLength(50)]
  551. public string Craftcode
  552. {
  553. get { return craftcode; }
  554. set { craftcode = value; }
  555. }
  556. /// <summary>
  557. /// 成分标准索引号集合(内控)
  558. /// </summary>
  559. [Description("成分标准索引号集合")]
  560. [Nullable(true)]
  561. [DataLength(400)]
  562. public string Cic
  563. {
  564. get { return cic; }
  565. set { cic = value; }
  566. }
  567. /// <summary>
  568. /// 内控标准代码
  569. /// </summary>
  570. [Description("内控标准代码")]
  571. [Nullable(true)]
  572. [DataLength(20)]
  573. public string StdCodeNk
  574. {
  575. get { return stdCodeNk; }
  576. set { stdCodeNk = value; }
  577. }
  578. /// <summary>
  579. /// 内控标准名称
  580. /// </summary>
  581. [Description("内控标准名称")]
  582. [Nullable(true)]
  583. [DataLength(200)]
  584. public string StdNameNk
  585. {
  586. get { return stdNameNk; }
  587. set { stdNameNk = value; }
  588. }
  589. /// <summary>
  590. /// 是否炼钢监制
  591. /// </summary>
  592. [Description("是否炼钢监制")]
  593. [Nullable(true)]
  594. [DataLength(1)]
  595. public string IfMonitorLg
  596. {
  597. get { return ifMonitorLg; }
  598. set { ifMonitorLg = value; }
  599. }
  600. /// <summary>
  601. /// 监制编号
  602. /// </summary>
  603. [Description("监制编号")]
  604. [Nullable(true)]
  605. [DataLength(40)]
  606. public string PrdcrNo
  607. {
  608. get { return prdcrNo; }
  609. set { prdcrNo = value; }
  610. }
  611. /// <summary>
  612. /// 铸造坯单重(模铸为铸锭单重)
  613. /// </summary>
  614. [Description("铸造坯单重")]
  615. [Nullable(true)]
  616. [DataLength(10)]
  617. public decimal? WtCastOne
  618. {
  619. get { return wtCastOne; }
  620. set { wtCastOne = value; }
  621. }
  622. /// <summary>
  623. /// 铸造坯需求重量
  624. /// </summary>
  625. [Description("铸造坯需求重量")]
  626. [Nullable(true)]
  627. [DataLength(10)]
  628. public decimal? CastWeight
  629. {
  630. get { return castWeight; }
  631. set { castWeight = value; }
  632. }
  633. /// <summary>
  634. /// 铸造坯需求支数
  635. /// </summary>
  636. [Description("铸造坯需求支数")]
  637. [Nullable(true)]
  638. [DataLength(10)]
  639. public decimal? CastNum
  640. {
  641. get { return castNum; }
  642. set { castNum = value; }
  643. }
  644. /// <summary>
  645. /// 铸造坯利库量
  646. /// </summary>
  647. [Description("铸造坯利库量")]
  648. [Nullable(true)]
  649. [DataLength(10)]
  650. public decimal? MatchWeight
  651. {
  652. get { return matchWeight; }
  653. set { matchWeight = value; }
  654. }
  655. /// <summary>
  656. /// 铸造坯利库支数
  657. /// </summary>
  658. [Description("铸造坯利库支数")]
  659. [Nullable(true)]
  660. [DataLength(10)]
  661. public decimal? MatchNum
  662. {
  663. get { return matchNum; }
  664. set { matchNum = value; }
  665. }
  666. /// <summary>
  667. /// 有无采购计划
  668. /// </summary>
  669. [Description("有无采购计划")]
  670. [Nullable(true)]
  671. [DataLength(1)]
  672. public string Ifbuyplan
  673. {
  674. get { return ifbuyplan; }
  675. set { ifbuyplan = value; }
  676. }
  677. /// <summary>
  678. /// 采购计划号
  679. /// </summary>
  680. [Description("采购计划号")]
  681. [Nullable(true)]
  682. [DataLength(20)]
  683. public string Buyplanid
  684. {
  685. get { return buyplanid; }
  686. set { buyplanid = value; }
  687. }
  688. /// <summary>
  689. /// 采购计划量
  690. /// </summary>
  691. [Description("采购计划量")]
  692. [Nullable(true)]
  693. [DataLength(10)]
  694. public decimal? Buyplanweight
  695. {
  696. get { return buyplanweight; }
  697. set { buyplanweight = value; }
  698. }
  699. /// <summary>
  700. /// 炼钢计划重量
  701. /// </summary>
  702. [Description("炼钢计划重量")]
  703. [Nullable(true)]
  704. [DataLength(10)]
  705. public decimal? PpcLgWeight
  706. {
  707. get { return ppcLgWeight; }
  708. set { ppcLgWeight = value; }
  709. }
  710. /// <summary>
  711. /// 炼钢计划支数
  712. /// </summary>
  713. [Description("炼钢计划支数")]
  714. [Nullable(true)]
  715. [DataLength(10)]
  716. public decimal? PpcLgNum
  717. {
  718. get { return ppcLgNum; }
  719. set { ppcLgNum = value; }
  720. }
  721. /// <summary>
  722. /// 需求状态(1计划,2排产,3生产中,4生产完成,5关闭,6取消,9封闭)
  723. /// </summary>
  724. [Description("需求状态")]
  725. [Nullable(true)]
  726. [DataLength(20)]
  727. public string ReqStatus
  728. {
  729. get { return reqStatus; }
  730. set { reqStatus = value; }
  731. }
  732. /// <summary>
  733. /// 备注
  734. /// </summary>
  735. [Description("备注")]
  736. [Nullable(true)]
  737. [DataLength(200)]
  738. public string Memo
  739. {
  740. get { return memo; }
  741. set { memo = value; }
  742. }
  743. /// <summary>
  744. /// 创建人
  745. /// </summary>
  746. [Description("创建人")]
  747. [Nullable(true)]
  748. [DataLength(20)]
  749. public string CreateName
  750. {
  751. get { return createName; }
  752. set { createName = value; }
  753. }
  754. /// <summary>
  755. /// 创建时间
  756. /// </summary>
  757. [Description("创建时间")]
  758. [Nullable(true)]
  759. public string CreateTime
  760. {
  761. get { return createTime; }
  762. set { createTime = value; }
  763. }
  764. /// <summary>
  765. /// 修改人
  766. /// </summary>
  767. [Description("修改人")]
  768. [Nullable(true)]
  769. [DataLength(20)]
  770. public string UpdateName
  771. {
  772. get { return updateName; }
  773. set { updateName = value; }
  774. }
  775. /// <summary>
  776. /// 修改时间
  777. /// </summary>
  778. [Description("修改时间")]
  779. [Nullable(true)]
  780. public string UpdateTime
  781. {
  782. get { return updateTime; }
  783. set { updateTime = value; }
  784. }
  785. }
  786. }