TPoDemandPlanEntity.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  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. /// 数据库表T_Po_Demand_Plan所对应的实体类(手敲的)
  11. /// 作者:TZH 时间:2024-8-8
  12. /// </summary>
  13. public class TPoDemandPlanEntity
  14. {
  15. /// <summary>
  16. /// 计划号
  17. /// </summary>
  18. private string planNo = "";
  19. /// <summary>
  20. /// 计划号
  21. /// </summary>
  22. [Description("计划号")]
  23. [Nullable(true)]
  24. [DataLength(20)]
  25. public string PlanNo
  26. {
  27. get { return planNo; }
  28. set { planNo = value; }
  29. }
  30. /// <summary>
  31. /// 钢种名称
  32. /// </summary>
  33. private string sgGrade = "";
  34. /// <summary>
  35. /// 钢种名称
  36. /// </summary>
  37. [Description("钢种名称")]
  38. [Nullable(true)]
  39. [DataLength(20)]
  40. public string SgGrade
  41. {
  42. get { return sgGrade; }
  43. set { sgGrade = value; }
  44. }
  45. /// <summary>
  46. /// 壁厚(mm)
  47. /// </summary>
  48. private decimal? wallThickness = null;
  49. /// <summary>
  50. /// 壁厚(mm)
  51. /// </summary>
  52. [Description("壁厚(mm)")]
  53. [Nullable(true)]
  54. [DataLength(20)]
  55. public decimal? WallThickness
  56. {
  57. get { return wallThickness; }
  58. set { wallThickness = value; }
  59. }
  60. /// <summary>
  61. /// 产品类别编码
  62. /// </summary>
  63. private string productCategoryCode = "";
  64. /// <summary>
  65. /// 产品类别编码
  66. /// </summary>
  67. [Description("产品类别编码")]
  68. [Nullable(true)]
  69. [DataLength(20)]
  70. public string ProductCategoryCode
  71. {
  72. get { return productCategoryCode; }
  73. set { productCategoryCode = value; }
  74. }
  75. /// <summary>
  76. /// 产品类别名称
  77. /// </summary>
  78. private string productCategory = "";
  79. /// <summary>
  80. /// 产品类别名称
  81. /// </summary>
  82. [Description("产品类别名称")]
  83. [Nullable(true)]
  84. [DataLength(20)]
  85. public string ProductCategory
  86. {
  87. get { return productCategory; }
  88. set { productCategory = value; }
  89. }
  90. /// <summary>
  91. /// 外径(mm)
  92. /// </summary>
  93. private decimal? outerDiam = null;
  94. /// <summary>
  95. /// 外径(mm)
  96. /// </summary>
  97. [Description("外径(mm)")]
  98. [Nullable(true)]
  99. [DataLength(20)]
  100. public decimal? OuterDiam
  101. {
  102. get { return outerDiam; }
  103. set { outerDiam = value; }
  104. }
  105. /// <summary>
  106. /// 长度(m)
  107. /// </summary>
  108. private decimal? length = null;
  109. /// <summary>
  110. /// 长度(m)
  111. /// </summary>
  112. [Description("长度(m)")]
  113. [Nullable(true)]
  114. [DataLength(20)]
  115. public decimal? Length
  116. {
  117. get { return length; }
  118. set { length = value; }
  119. }
  120. /// <summary>
  121. /// 倍尺长度(mm)
  122. /// </summary>
  123. private decimal? rulerLength = null;
  124. /// <summary>
  125. /// 倍尺长度(mm)
  126. /// </summary>
  127. [Description("倍尺长度(mm)")]
  128. [Nullable(true)]
  129. [DataLength(20)]
  130. public decimal? RulerLength
  131. {
  132. get { return rulerLength; }
  133. set { rulerLength = value; }
  134. }
  135. /// <summary>
  136. /// 坯料计划类型
  137. /// </summary>
  138. private string planType = "";
  139. /// <summary>
  140. /// 坯料计划类型
  141. /// </summary>
  142. [Description("坯料计划类型")]
  143. [Nullable(true)]
  144. [DataLength(20)]
  145. public string PlanType
  146. {
  147. get { return planType; }
  148. set { planType = value; }
  149. }
  150. /// <summary>
  151. /// 长度范围
  152. /// </summary>
  153. private string lengthRange = "";
  154. /// <summary>
  155. /// 长度范围
  156. /// </summary>
  157. [Description("长度范围")]
  158. [Nullable(true)]
  159. [DataLength(20)]
  160. public string LengthRange
  161. {
  162. get { return lengthRange; }
  163. set { lengthRange = value; }
  164. }
  165. /// <summary>
  166. /// 控制壁厚(mm)
  167. /// </summary>
  168. private decimal? controlsThickness = null;
  169. /// <summary>
  170. /// 控制壁厚(mm)
  171. /// </summary>
  172. [Description("控制壁厚(mm)")]
  173. [Nullable(true)]
  174. [DataLength(20)]
  175. public decimal? ControlsThickness
  176. {
  177. get { return controlsThickness; }
  178. set { controlsThickness = value; }
  179. }
  180. /// <summary>
  181. /// 孔型
  182. /// </summary>
  183. private string pass = "";
  184. /// <summary>
  185. /// 孔型
  186. /// </summary>
  187. [Description("孔型")]
  188. [Nullable(true)]
  189. [DataLength(20)]
  190. public string Pass
  191. {
  192. get { return pass; }
  193. set { pass = value; }
  194. }
  195. /// <summary>
  196. /// 品种
  197. /// </summary>
  198. private string breed = "";
  199. /// <summary>
  200. /// 品种
  201. /// </summary>
  202. [Description("品种")]
  203. [Nullable(true)]
  204. [DataLength(20)]
  205. public string Breed
  206. {
  207. get { return breed; }
  208. set { breed = value; }
  209. }
  210. /// <summary>
  211. /// 切头尾长度
  212. /// </summary>
  213. private string headTailLength = "";
  214. /// <summary>
  215. /// 切头尾长度
  216. /// </summary>
  217. [Description("切头尾长度")]
  218. [Nullable(true)]
  219. [DataLength(20)]
  220. public string HeadTailLength
  221. {
  222. get { return headTailLength; }
  223. set { headTailLength = value; }
  224. }
  225. /// <summary>
  226. /// 合同长度
  227. /// </summary>
  228. private string contractLengt = "";
  229. /// <summary>
  230. /// 合同长度
  231. /// </summary>
  232. [Description("合同长度")]
  233. [Nullable(true)]
  234. [DataLength(20)]
  235. public string ContractLengt
  236. {
  237. get { return contractLengt; }
  238. set { contractLengt = value; }
  239. }
  240. /// <summary>
  241. /// 合同量
  242. /// </summary>
  243. private decimal? contractedQuantity = null;
  244. /// <summary>
  245. /// 合同量
  246. /// </summary>
  247. [Description("合同量")]
  248. [Nullable(true)]
  249. [DataLength(20)]
  250. public decimal? ContractedQuantity
  251. {
  252. get { return contractedQuantity; }
  253. set { contractedQuantity = value; }
  254. }
  255. /// <summary>
  256. /// 采购量
  257. /// </summary>
  258. private decimal? quantityPurchased = null;
  259. /// <summary>
  260. /// 采购量
  261. /// </summary>
  262. [Description("采购量")]
  263. [Nullable(true)]
  264. [DataLength(20)]
  265. public decimal? QuantityPurchased
  266. {
  267. get { return quantityPurchased; }
  268. set { quantityPurchased = value; }
  269. }
  270. /// <summary>
  271. /// 交货状态
  272. /// </summary>
  273. private string deliveryStatus = "";
  274. /// <summary>
  275. /// 交货状态
  276. /// </summary>
  277. [Description("交货状态")]
  278. [Nullable(true)]
  279. [DataLength(20)]
  280. public string DeliveryStatus
  281. {
  282. get { return deliveryStatus; }
  283. set { deliveryStatus = value; }
  284. }
  285. /// <summary>
  286. /// 断面
  287. /// </summary>
  288. private decimal? section = null;
  289. /// <summary>
  290. /// 断面
  291. /// </summary>
  292. [Description("断面")]
  293. [Nullable(true)]
  294. [DataLength(20)]
  295. public decimal? Section
  296. {
  297. get { return section; }
  298. set { section = value; }
  299. }
  300. /// <summary>
  301. /// 合同厂家
  302. /// </summary>
  303. private string contractBuyer = "";
  304. /// <summary>
  305. /// 合同厂家
  306. /// </summary>
  307. [Description("合同厂家")]
  308. [Nullable(true)]
  309. [DataLength(20)]
  310. public string ContractBuyer
  311. {
  312. get { return contractBuyer; }
  313. set { contractBuyer = value; }
  314. }
  315. /// <summary>
  316. /// 交货期
  317. /// </summary>
  318. private string deliveryDate = "";
  319. /// <summary>
  320. /// 交货期
  321. /// </summary>
  322. [Description("交货期")]
  323. [Nullable(true)]
  324. public string DeliveryDate
  325. {
  326. get { return deliveryDate; }
  327. set { deliveryDate = value; }
  328. }
  329. //TZH
  330. /// <summary>
  331. /// 钢级
  332. /// </summary>
  333. private string gJ = "";
  334. /// <summary>
  335. /// 钢级
  336. /// </summary>
  337. [Description("钢级")]
  338. [Nullable(true)]
  339. [DataLength(20)]
  340. public string GJ
  341. {
  342. get { return gJ; }
  343. set { gJ = value; }
  344. }
  345. /// <summary>
  346. /// 毛管外径(mm)
  347. /// </summary>
  348. private string wgD = "";
  349. /// <summary>
  350. /// 毛管外径(mm)
  351. /// </summary>
  352. [Description("毛管外径(mm)")]
  353. [Nullable(true)]
  354. [DataLength(20)]
  355. public string WgD
  356. {
  357. get { return wgD; }
  358. set { wgD = value; }
  359. }
  360. /// <summary>
  361. /// 毛管壁厚(mm)
  362. /// </summary>
  363. private string wgH = "";
  364. /// <summary>
  365. /// 毛管壁厚(mm)
  366. /// </summary>
  367. [Description("毛管壁厚(mm)")]
  368. [Nullable(true)]
  369. [DataLength(20)]
  370. public string WgH
  371. {
  372. get { return wgH; }
  373. set { wgH = value; }
  374. }
  375. /// <summary>
  376. /// 毛管长度(m)
  377. /// </summary>
  378. private string mgcd = "";
  379. /// <summary>
  380. /// 毛管长度(m)
  381. /// </summary>
  382. [Description("毛管长度(m)")]
  383. [Nullable(true)]
  384. [DataLength(20)]
  385. public string Mgcd
  386. {
  387. get { return mgcd; }
  388. set { mgcd = value; }
  389. }
  390. /// <summary>
  391. /// 芯棒直径
  392. /// </summary>
  393. private string diameterMandrel = "";
  394. /// <summary>
  395. /// 芯棒直径
  396. /// </summary>
  397. [Description("芯棒直径")]
  398. [Nullable(true)]
  399. [DataLength(20)]
  400. public string DiameterMandrel
  401. {
  402. get { return diameterMandrel; }
  403. set { diameterMandrel = value; }
  404. }
  405. /// <summary>
  406. /// 轧制长度(m)
  407. /// </summary>
  408. private string zzcd = "";
  409. /// <summary>
  410. /// 轧制长度(m)
  411. /// </summary>
  412. [Description("轧制长度(m)")]
  413. [Nullable(true)]
  414. [DataLength(20)]
  415. public string Zzcd
  416. {
  417. get { return zzcd; }
  418. set { zzcd = value; }
  419. }
  420. /// <summary>
  421. /// 钢管分切数
  422. /// </summary>
  423. private string ggfqs = "";
  424. /// <summary>
  425. /// 钢管分切数
  426. /// </summary>
  427. [Description("钢管分切数")]
  428. [Nullable(true)]
  429. [DataLength(20)]
  430. public string Ggfqs
  431. {
  432. get { return ggfqs; }
  433. set { ggfqs = value; }
  434. }
  435. /// <summary>
  436. /// 成品长度(m)
  437. /// </summary>
  438. private string cpcd = "";
  439. /// <summary>
  440. /// 成品长度(m)
  441. /// </summary>
  442. [Description("成品长度(m)")]
  443. [Nullable(true)]
  444. [DataLength(20)]
  445. public string Cpcd
  446. {
  447. get { return cpcd; }
  448. set { cpcd = value; }
  449. }
  450. /// <summary>
  451. /// 切头
  452. /// </summary>
  453. private string qt = "";
  454. /// <summary>
  455. /// 切头
  456. /// </summary>
  457. [Description("切头(mm)")]
  458. [Nullable(true)]
  459. [DataLength(20)]
  460. public string Qt
  461. {
  462. get { return qt; }
  463. set { qt = value; }
  464. }
  465. /// <summary>
  466. /// 切尾
  467. /// </summary>
  468. private string qw = "";
  469. /// <summary>
  470. /// 切尾
  471. /// </summary>
  472. [Description("切尾(mm)")]
  473. [Nullable(true)]
  474. [DataLength(20)]
  475. public string Qw
  476. {
  477. get { return qw; }
  478. set { qw = value; }
  479. }
  480. /// <summary>
  481. /// 倍尺数
  482. /// </summary>
  483. private string bcs = "";
  484. /// <summary>
  485. /// 倍尺数
  486. /// </summary>
  487. [Description("倍尺数")]
  488. [Nullable(true)]
  489. [DataLength(20)]
  490. public string Bcs
  491. {
  492. get { return bcs; }
  493. set { bcs = value; }
  494. }
  495. /// <summary>
  496. /// 单倍尺坯料长度(mm)
  497. /// </summary>
  498. private string dbcplcd = "";
  499. /// <summary>
  500. /// 单倍尺坯料长度(mm)
  501. /// </summary>
  502. [Description("单倍尺坯料长度(mm)")]
  503. [Nullable(true)]
  504. [DataLength(20)]
  505. public string Dbcplcd
  506. {
  507. get { return dbcplcd; }
  508. set { dbcplcd = value; }
  509. }
  510. /// <summary>
  511. /// 单倍尺坯料重量
  512. /// </summary>
  513. private string dbcplzl = "";
  514. /// <summary>
  515. /// 单倍尺坯料重量
  516. /// </summary>
  517. [Description("单倍尺坯料重量")]
  518. [Nullable(true)]
  519. [DataLength(20)]
  520. public string Dbcplzl
  521. {
  522. get { return dbcplzl; }
  523. set { dbcplzl = value; }
  524. }
  525. /// <summary>
  526. /// 管坯直径
  527. /// </summary>
  528. private string gpzj = "";
  529. /// <summary>
  530. /// 管坯直径
  531. /// </summary>
  532. [Description("管坯直径")]
  533. [Nullable(true)]
  534. [DataLength(20)]
  535. public string Gpzj
  536. {
  537. get { return gpzj; }
  538. set { gpzj = value; }
  539. }
  540. /// <summary>
  541. /// 计算最大量
  542. /// </summary>
  543. private string htcgzlMax = "";
  544. /// <summary>
  545. /// 计算最大量
  546. /// </summary>
  547. [Description("计算最大量")]
  548. [Nullable(true)]
  549. [DataLength(20)]
  550. public string HtcgzlMax
  551. {
  552. get { return htcgzlMax; }
  553. set { htcgzlMax = value; }
  554. }
  555. /// <summary>
  556. /// 计算最小量
  557. /// </summary>
  558. private string htcgzlMin = "";
  559. /// <summary>
  560. /// 计算最小量
  561. /// </summary>
  562. [Description("计算最小量")]
  563. [Nullable(true)]
  564. [DataLength(20)]
  565. public string HtcgzlMin
  566. {
  567. get { return htcgzlMin; }
  568. set { htcgzlMin = value; }
  569. }
  570. ///// <summary>
  571. ///// 合同采购重量(新)
  572. ///// </summary>
  573. //private string htcgzl2 = "";
  574. ///// <summary>
  575. ///// 合同采购重量(新)
  576. ///// </summary>
  577. //[Description("合同量(新)")]
  578. //[Nullable(true)]
  579. //[DataLength(20)]
  580. //public string Htcgzl2
  581. //{
  582. // get { return htcgzl2; }
  583. // set { htcgzl2 = value; }
  584. //}
  585. /// <summary>
  586. /// 烧损率
  587. /// </summary>
  588. private string ssl = "";
  589. /// <summary>
  590. /// 烧损率
  591. /// </summary>
  592. [Description("烧损率")]
  593. [Nullable(true)]
  594. [DataLength(20)]
  595. public string Ssl
  596. {
  597. get { return ssl; }
  598. set { ssl = value; }
  599. }
  600. /// <summary>
  601. /// 米重
  602. /// </summary>
  603. private string mz = "";
  604. /// <summary>
  605. /// 米重
  606. /// </summary>
  607. [Description("米重")]
  608. [Nullable(true)]
  609. [DataLength(20)]
  610. public string Mz
  611. {
  612. get { return mz; }
  613. set { mz = value; }
  614. }
  615. /// <summary>
  616. /// 轧制重量
  617. /// </summary>
  618. private string zzzl = "";
  619. /// <summary>
  620. /// 轧制重量
  621. /// </summary>
  622. [Description("轧制重量")]
  623. [Nullable(true)]
  624. [DataLength(20)]
  625. public string Zzzl
  626. {
  627. get { return zzzl; }
  628. set { zzzl = value; }
  629. }
  630. /// <summary>
  631. /// 交货量差
  632. /// </summary>
  633. private string jhlc = "";
  634. /// <summary>
  635. /// 交货量差
  636. /// </summary>
  637. [Description("交货量差")]
  638. [Nullable(true)]
  639. [DataLength(20)]
  640. public string Jhlc
  641. {
  642. get { return jhlc; }
  643. set { jhlc = value; }
  644. }
  645. /// <summary>
  646. /// 是否上传产销
  647. /// </summary>
  648. private string cxFlag = "";
  649. /// <summary>
  650. /// 是否上传产销
  651. /// </summary>
  652. [Description("是否上传产销")]
  653. [Nullable(true)]
  654. [DataLength(20)]
  655. public string CxFlag
  656. {
  657. get { return cxFlag; }
  658. set { cxFlag = value; }
  659. }
  660. }
  661. }