PlnOrdRclSPineEntity.cs 21 KB

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