SlmOrderLineEntity.cs 20 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. namespace Core.StlMes.Client.SaleOrder
  7. {
  8. public class SlmOrderLineEntity
  9. {
  10. /// <summary>
  11. /// 合同行价格维护
  12. /// </summary>
  13. private object priceNol;
  14. /// <summary>
  15. /// ORD_PK
  16. /// </summary>
  17. private object ordPk;
  18. /// <summary>
  19. /// ORD_LN_PK
  20. /// </summary>
  21. private object ordLnPk;
  22. /// <summary>
  23. /// 管理卡号
  24. /// </summary>
  25. private object managNo;
  26. /// <summary>
  27. /// 合同号
  28. /// </summary>
  29. private object orderNo;
  30. /// <summary>
  31. /// 客户合同号
  32. /// </summary>
  33. private object custmOrderNo;
  34. /// <summary>
  35. /// 评审单号
  36. /// </summary>
  37. private object revwRptNo;
  38. /// <summary>
  39. /// 合同类型
  40. /// </summary>
  41. private object orderTypDesc;
  42. /// <summary>
  43. /// 销售组织
  44. /// </summary>
  45. private object saleOrgDesc;
  46. /// <summary>
  47. /// 销售区域
  48. /// </summary>
  49. private object saleAreaDesc;
  50. /// <summary>
  51. /// 合同行号
  52. /// </summary>
  53. private object orderSeq;
  54. /// <summary>
  55. /// 出厂价
  56. /// </summary>
  57. private object outPrice;
  58. /// <summary>
  59. /// 结算价
  60. /// </summary>
  61. private object blaPrice;
  62. /// <summary>
  63. /// 运费
  64. /// </summary>
  65. private object trsPrice;
  66. /// <summary>
  67. /// 吊装费
  68. /// </summary>
  69. private object pakPrice;
  70. /// <summary>
  71. /// 订货规格
  72. /// </summary>
  73. private object orderSpecDesc;
  74. /// <summary>
  75. /// 产品规格
  76. /// </summary>
  77. private object specName;
  78. /// <summary>
  79. /// 扣型
  80. /// </summary>
  81. private object modelDesc;
  82. /// <summary>
  83. /// 长度
  84. /// </summary>
  85. private object lenDesc;
  86. /// <summary>
  87. /// 订货量
  88. /// </summary>
  89. private object orderQty;
  90. /// <summary>
  91. /// 计量单位
  92. /// </summary>
  93. private object orderUnit;
  94. /// <summary>
  95. /// 保总长
  96. /// </summary>
  97. private object ordEnsuTotlLen;
  98. /// <summary>
  99. /// 交货量差方式
  100. /// </summary>
  101. private object delvryRangeTpe;
  102. /// <summary>
  103. /// 交货量差下限
  104. /// </summary>
  105. private object delvryRangeMin;
  106. /// <summary>
  107. /// 交货量差上限
  108. /// </summary>
  109. private object delvryRangeMax;
  110. /// <summary>
  111. /// 订货附加要求
  112. /// </summary>
  113. private object orderAddDesc;
  114. /// <summary>
  115. /// 产品特殊要求
  116. /// </summary>
  117. private object orderSpecialDesc;
  118. /// <summary>
  119. /// 外购坯
  120. /// </summary>
  121. private object outsBilletFl;
  122. /// <summary>
  123. /// 外购管
  124. /// </summary>
  125. private object outsStlPipeFl;
  126. /// <summary>
  127. /// ASSEL
  128. /// </summary>
  129. private object asselFl;
  130. /// <summary>
  131. /// 监制要求
  132. /// </summary>
  133. private object producerFl;
  134. /// <summary>
  135. /// 最终用户
  136. /// </summary>
  137. private object finalUserDesc;
  138. /// <summary>
  139. /// 订货单位
  140. /// </summary>
  141. private object customerNm;
  142. /// <summary>
  143. /// 结算单位
  144. /// </summary>
  145. private object stlmtUnitNm;
  146. /// <summary>
  147. /// 协议号
  148. /// </summary>
  149. private object protclNo;
  150. /// <summary>
  151. /// 计价方式
  152. /// </summary>
  153. private object priceFl;
  154. /// <summary>
  155. /// 币种
  156. /// </summary>
  157. private object currency;
  158. /// <summary>
  159. /// 付款方式
  160. /// </summary>
  161. private object mnyAskTyp;
  162. /// <summary>
  163. /// 付款要求
  164. /// </summary>
  165. private object mnyAskDesc;
  166. /// <summary>
  167. /// 合同定价维护
  168. /// </summary>
  169. private object priceNoh;
  170. public SlmOrderLineEntity()
  171. {
  172. priceNol = "";
  173. ordPk = "";
  174. ordLnPk = "";
  175. managNo = "";
  176. orderNo = "";
  177. custmOrderNo = "";
  178. revwRptNo = "";
  179. orderTypDesc = "";
  180. saleOrgDesc = "";
  181. saleAreaDesc = "";
  182. orderSeq = "";
  183. outPrice = "";
  184. blaPrice = "";
  185. trsPrice = "";
  186. pakPrice = "";
  187. orderSpecDesc = "";
  188. specName = "";
  189. modelDesc = "";
  190. lenDesc = "";
  191. orderQty = "";
  192. orderUnit = "";
  193. ordEnsuTotlLen = "";
  194. delvryRangeTpe = "";
  195. delvryRangeMin = "";
  196. delvryRangeMax = "";
  197. orderAddDesc = "";
  198. orderSpecialDesc = "";
  199. outsBilletFl = "";
  200. outsStlPipeFl = "";
  201. asselFl = "";
  202. producerFl = "";
  203. finalUserDesc = "";
  204. customerNm = "";
  205. stlmtUnitNm = "";
  206. protclNo = "";
  207. priceFl = "";
  208. currency = "";
  209. mnyAskTyp = "";
  210. mnyAskDesc = "";
  211. priceNoh = "";
  212. }
  213. /// <summary>
  214. /// 合同行价格维护
  215. /// </summary>
  216. [Description("合同行价格")]
  217. public object PriceNol
  218. {
  219. get { return priceNol; }
  220. set
  221. {
  222. if(value == null)
  223. {
  224. priceNol = DBNull.Value;
  225. }
  226. else
  227. {
  228. priceNol = value;
  229. }
  230. }
  231. }
  232. /// <summary>
  233. /// ORD_PK
  234. /// </summary>
  235. [Description("ORD_PK")]
  236. public object OrdPk
  237. {
  238. get { return ordPk; }
  239. set
  240. {
  241. if(value == null)
  242. {
  243. ordPk = DBNull.Value;
  244. }
  245. else
  246. {
  247. ordPk = value;
  248. }
  249. }
  250. }
  251. /// <summary>
  252. /// ORD_LN_PK
  253. /// </summary>
  254. [Description("ORD_LN_PK")]
  255. public object OrdLnPk
  256. {
  257. get { return ordLnPk; }
  258. set
  259. {
  260. if(value == null)
  261. {
  262. ordLnPk = DBNull.Value;
  263. }
  264. else
  265. {
  266. ordLnPk = value;
  267. }
  268. }
  269. }
  270. /// <summary>
  271. /// 管理卡号
  272. /// </summary>
  273. [Description("管理卡号")]
  274. public object ManagNo
  275. {
  276. get { return managNo; }
  277. set
  278. {
  279. if(value == null)
  280. {
  281. managNo = DBNull.Value;
  282. }
  283. else
  284. {
  285. managNo = value;
  286. }
  287. }
  288. }
  289. /// <summary>
  290. /// 合同号
  291. /// </summary>
  292. [Description("合同号")]
  293. public object OrderNo
  294. {
  295. get { return orderNo; }
  296. set
  297. {
  298. if(value == null)
  299. {
  300. orderNo = DBNull.Value;
  301. }
  302. else
  303. {
  304. orderNo = value;
  305. }
  306. }
  307. }
  308. /// <summary>
  309. /// 客户合同号
  310. /// </summary>
  311. [Description("客户合同号")]
  312. public object CustmOrderNo
  313. {
  314. get { return custmOrderNo; }
  315. set
  316. {
  317. if(value == null)
  318. {
  319. custmOrderNo = DBNull.Value;
  320. }
  321. else
  322. {
  323. custmOrderNo = value;
  324. }
  325. }
  326. }
  327. /// <summary>
  328. /// 评审单号
  329. /// </summary>
  330. [Description("评审单号")]
  331. public object RevwRptNo
  332. {
  333. get { return revwRptNo; }
  334. set
  335. {
  336. if(value == null)
  337. {
  338. revwRptNo = DBNull.Value;
  339. }
  340. else
  341. {
  342. revwRptNo = value;
  343. }
  344. }
  345. }
  346. /// <summary>
  347. /// 合同类型
  348. /// </summary>
  349. [Description("合同类型")]
  350. public object OrderTypDesc
  351. {
  352. get { return orderTypDesc; }
  353. set
  354. {
  355. if(value == null)
  356. {
  357. orderTypDesc = DBNull.Value;
  358. }
  359. else
  360. {
  361. orderTypDesc = value;
  362. }
  363. }
  364. }
  365. /// <summary>
  366. /// 销售组织
  367. /// </summary>
  368. [Description("销售组织")]
  369. public object SaleOrgDesc
  370. {
  371. get { return saleOrgDesc; }
  372. set
  373. {
  374. if(value == null)
  375. {
  376. saleOrgDesc = DBNull.Value;
  377. }
  378. else
  379. {
  380. saleOrgDesc = value;
  381. }
  382. }
  383. }
  384. /// <summary>
  385. /// 销售区域
  386. /// </summary>
  387. [Description("销售区域")]
  388. public object SaleAreaDesc
  389. {
  390. get { return saleAreaDesc; }
  391. set
  392. {
  393. if(value == null)
  394. {
  395. saleAreaDesc = DBNull.Value;
  396. }
  397. else
  398. {
  399. saleAreaDesc = value;
  400. }
  401. }
  402. }
  403. /// <summary>
  404. /// 合同行号
  405. /// </summary>
  406. [Description("合同行号")]
  407. public object OrderSeq
  408. {
  409. get { return orderSeq; }
  410. set
  411. {
  412. if(value == null)
  413. {
  414. orderSeq = DBNull.Value;
  415. }
  416. else
  417. {
  418. orderSeq = value;
  419. }
  420. }
  421. }
  422. /// <summary>
  423. /// 出厂价
  424. /// </summary>
  425. [Description("出厂价")]
  426. public object OutPrice
  427. {
  428. get { return outPrice; }
  429. set
  430. {
  431. if(value == null)
  432. {
  433. outPrice = DBNull.Value;
  434. }
  435. else
  436. {
  437. outPrice = value;
  438. }
  439. }
  440. }
  441. /// <summary>
  442. /// 结算价
  443. /// </summary>
  444. [Description("结算价")]
  445. public object BlaPrice
  446. {
  447. get { return blaPrice; }
  448. set
  449. {
  450. if(value == null)
  451. {
  452. blaPrice = DBNull.Value;
  453. }
  454. else
  455. {
  456. blaPrice = value;
  457. }
  458. }
  459. }
  460. /// <summary>
  461. /// 运费
  462. /// </summary>
  463. [Description("运费")]
  464. public object TrsPrice
  465. {
  466. get { return trsPrice; }
  467. set
  468. {
  469. if(value == null)
  470. {
  471. trsPrice = DBNull.Value;
  472. }
  473. else
  474. {
  475. trsPrice = value;
  476. }
  477. }
  478. }
  479. /// <summary>
  480. /// 吊装费
  481. /// </summary>
  482. [Description("吊装费")]
  483. public object PakPrice
  484. {
  485. get { return pakPrice; }
  486. set
  487. {
  488. if(value == null)
  489. {
  490. pakPrice = DBNull.Value;
  491. }
  492. else
  493. {
  494. pakPrice = value;
  495. }
  496. }
  497. }
  498. /// <summary>
  499. /// 订货规格
  500. /// </summary>
  501. [Description("订货规格")]
  502. public object OrderSpecDesc
  503. {
  504. get { return orderSpecDesc; }
  505. set
  506. {
  507. if(value == null)
  508. {
  509. orderSpecDesc = DBNull.Value;
  510. }
  511. else
  512. {
  513. orderSpecDesc = value;
  514. }
  515. }
  516. }
  517. /// <summary>
  518. /// 产品规格
  519. /// </summary>
  520. [Description("产品规格")]
  521. public object SpecName
  522. {
  523. get { return specName; }
  524. set
  525. {
  526. if(value == null)
  527. {
  528. specName = DBNull.Value;
  529. }
  530. else
  531. {
  532. specName = value;
  533. }
  534. }
  535. }
  536. /// <summary>
  537. /// 扣型
  538. /// </summary>
  539. [Description("扣型")]
  540. public object ModelDesc
  541. {
  542. get { return modelDesc; }
  543. set
  544. {
  545. if(value == null)
  546. {
  547. modelDesc = DBNull.Value;
  548. }
  549. else
  550. {
  551. modelDesc = value;
  552. }
  553. }
  554. }
  555. /// <summary>
  556. /// 长度
  557. /// </summary>
  558. [Description("长度")]
  559. public object LenDesc
  560. {
  561. get { return lenDesc; }
  562. set
  563. {
  564. if(value == null)
  565. {
  566. lenDesc = DBNull.Value;
  567. }
  568. else
  569. {
  570. lenDesc = value;
  571. }
  572. }
  573. }
  574. /// <summary>
  575. /// 订货量
  576. /// </summary>
  577. [Description("订货量")]
  578. public object OrderQty
  579. {
  580. get { return orderQty; }
  581. set
  582. {
  583. if(value == null)
  584. {
  585. orderQty = DBNull.Value;
  586. }
  587. else
  588. {
  589. orderQty = value;
  590. }
  591. }
  592. }
  593. /// <summary>
  594. /// 计量单位
  595. /// </summary>
  596. [Description("计量单位")]
  597. public object OrderUnit
  598. {
  599. get { return orderUnit; }
  600. set
  601. {
  602. if(value == null)
  603. {
  604. orderUnit = DBNull.Value;
  605. }
  606. else
  607. {
  608. orderUnit = value;
  609. }
  610. }
  611. }
  612. /// <summary>
  613. /// 保总长
  614. /// </summary>
  615. [Description("保总长")]
  616. public object OrdEnsuTotlLen
  617. {
  618. get { return ordEnsuTotlLen; }
  619. set
  620. {
  621. if(value == null)
  622. {
  623. ordEnsuTotlLen = DBNull.Value;
  624. }
  625. else
  626. {
  627. ordEnsuTotlLen = value;
  628. }
  629. }
  630. }
  631. /// <summary>
  632. /// 交货量差方式
  633. /// </summary>
  634. [Description("交货量差方式")]
  635. public object DelvryRangeTpe
  636. {
  637. get { return delvryRangeTpe; }
  638. set
  639. {
  640. if(value == null)
  641. {
  642. delvryRangeTpe = DBNull.Value;
  643. }
  644. else
  645. {
  646. delvryRangeTpe = value;
  647. }
  648. }
  649. }
  650. /// <summary>
  651. /// 交货量差下限
  652. /// </summary>
  653. [Description("交货量差下限")]
  654. public object DelvryRangeMin
  655. {
  656. get { return delvryRangeMin; }
  657. set
  658. {
  659. if(value == null)
  660. {
  661. delvryRangeMin = DBNull.Value;
  662. }
  663. else
  664. {
  665. delvryRangeMin = value;
  666. }
  667. }
  668. }
  669. /// <summary>
  670. /// 交货量差上限
  671. /// </summary>
  672. [Description("交货量差上限")]
  673. public object DelvryRangeMax
  674. {
  675. get { return delvryRangeMax; }
  676. set
  677. {
  678. if(value == null)
  679. {
  680. delvryRangeMax = DBNull.Value;
  681. }
  682. else
  683. {
  684. delvryRangeMax = value;
  685. }
  686. }
  687. }
  688. /// <summary>
  689. /// 订货附加要求
  690. /// </summary>
  691. [Description("订货附加要求")]
  692. public object OrderAddDesc
  693. {
  694. get { return orderAddDesc; }
  695. set
  696. {
  697. if(value == null)
  698. {
  699. orderAddDesc = DBNull.Value;
  700. }
  701. else
  702. {
  703. orderAddDesc = value;
  704. }
  705. }
  706. }
  707. /// <summary>
  708. /// 产品特殊要求
  709. /// </summary>
  710. [Description("产品特殊要求")]
  711. public object OrderSpecialDesc
  712. {
  713. get { return orderSpecialDesc; }
  714. set
  715. {
  716. if(value == null)
  717. {
  718. orderSpecialDesc = DBNull.Value;
  719. }
  720. else
  721. {
  722. orderSpecialDesc = value;
  723. }
  724. }
  725. }
  726. /// <summary>
  727. /// 外购坯
  728. /// </summary>
  729. [Description("外购坯")]
  730. public object OutsBilletFl
  731. {
  732. get { return outsBilletFl; }
  733. set
  734. {
  735. if(value == null)
  736. {
  737. outsBilletFl = DBNull.Value;
  738. }
  739. else
  740. {
  741. outsBilletFl = value;
  742. }
  743. }
  744. }
  745. /// <summary>
  746. /// 外购管
  747. /// </summary>
  748. [Description("外购管")]
  749. public object OutsStlPipeFl
  750. {
  751. get { return outsStlPipeFl; }
  752. set
  753. {
  754. if(value == null)
  755. {
  756. outsStlPipeFl = DBNull.Value;
  757. }
  758. else
  759. {
  760. outsStlPipeFl = value;
  761. }
  762. }
  763. }
  764. /// <summary>
  765. /// ASSEL
  766. /// </summary>
  767. [Description("ASSEL")]
  768. public object AsselFl
  769. {
  770. get { return asselFl; }
  771. set
  772. {
  773. if(value == null)
  774. {
  775. asselFl = DBNull.Value;
  776. }
  777. else
  778. {
  779. asselFl = value;
  780. }
  781. }
  782. }
  783. /// <summary>
  784. /// 监制要求
  785. /// </summary>
  786. [Description("监制要求")]
  787. public object ProducerFl
  788. {
  789. get { return producerFl; }
  790. set
  791. {
  792. if(value == null)
  793. {
  794. producerFl = DBNull.Value;
  795. }
  796. else
  797. {
  798. producerFl = value;
  799. }
  800. }
  801. }
  802. /// <summary>
  803. /// 最终用户
  804. /// </summary>
  805. [Description("最终用户")]
  806. public object FinalUserDesc
  807. {
  808. get { return finalUserDesc; }
  809. set
  810. {
  811. if(value == null)
  812. {
  813. finalUserDesc = DBNull.Value;
  814. }
  815. else
  816. {
  817. finalUserDesc = value;
  818. }
  819. }
  820. }
  821. /// <summary>
  822. /// 订货单位
  823. /// </summary>
  824. [Description("订货单位")]
  825. public object CustomerNm
  826. {
  827. get { return customerNm; }
  828. set
  829. {
  830. if(value == null)
  831. {
  832. customerNm = DBNull.Value;
  833. }
  834. else
  835. {
  836. customerNm = value;
  837. }
  838. }
  839. }
  840. /// <summary>
  841. /// 结算单位
  842. /// </summary>
  843. [Description("结算单位")]
  844. public object StlmtUnitNm
  845. {
  846. get { return stlmtUnitNm; }
  847. set
  848. {
  849. if(value == null)
  850. {
  851. stlmtUnitNm = DBNull.Value;
  852. }
  853. else
  854. {
  855. stlmtUnitNm = value;
  856. }
  857. }
  858. }
  859. /// <summary>
  860. /// 协议号
  861. /// </summary>
  862. [Description("协议号")]
  863. public object ProtclNo
  864. {
  865. get { return protclNo; }
  866. set
  867. {
  868. if(value == null)
  869. {
  870. protclNo = DBNull.Value;
  871. }
  872. else
  873. {
  874. protclNo = value;
  875. }
  876. }
  877. }
  878. /// <summary>
  879. /// 计价方式
  880. /// </summary>
  881. [Description("计价方式")]
  882. public object PriceFl
  883. {
  884. get { return priceFl; }
  885. set
  886. {
  887. if(value == null)
  888. {
  889. priceFl = DBNull.Value;
  890. }
  891. else
  892. {
  893. priceFl = value;
  894. }
  895. }
  896. }
  897. /// <summary>
  898. /// 币种
  899. /// </summary>
  900. [Description("币种")]
  901. public object Currency
  902. {
  903. get { return currency; }
  904. set
  905. {
  906. if(value == null)
  907. {
  908. currency = DBNull.Value;
  909. }
  910. else
  911. {
  912. currency = value;
  913. }
  914. }
  915. }
  916. /// <summary>
  917. /// 付款方式
  918. /// </summary>
  919. [Description("付款方式")]
  920. public object MnyAskTyp
  921. {
  922. get { return mnyAskTyp; }
  923. set
  924. {
  925. if(value == null)
  926. {
  927. mnyAskTyp = DBNull.Value;
  928. }
  929. else
  930. {
  931. mnyAskTyp = value;
  932. }
  933. }
  934. }
  935. /// <summary>
  936. /// 付款要求
  937. /// </summary>
  938. [Description("付款要求")]
  939. public object MnyAskDesc
  940. {
  941. get { return mnyAskDesc; }
  942. set
  943. {
  944. if(value == null)
  945. {
  946. mnyAskDesc = DBNull.Value;
  947. }
  948. else
  949. {
  950. mnyAskDesc = value;
  951. }
  952. }
  953. }
  954. /// <summary>
  955. /// 合同定价维护
  956. /// </summary>
  957. [Description("合同定价")]
  958. public object PriceNoh
  959. {
  960. get { return priceNoh; }
  961. set
  962. {
  963. if(value == null)
  964. {
  965. priceNoh = DBNull.Value;
  966. }
  967. else
  968. {
  969. priceNoh = value;
  970. }
  971. }
  972. }
  973. }
  974. }