YdmBcScrapfrimEntity.cs 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
  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.YdmBcPipeManage.Entity
  8. {
  9. /// <summary>
  10. /// 数据库表YDM_BC_SCRAPFRIM所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:DM22222 时间:2019-04-06
  12. /// </summary>
  13. public class YdmBcScrapfrimEntity
  14. {
  15. /// <summary>
  16. /// 申请审核单号
  17. /// </summary>
  18. private string failApprovalCode = "";
  19. /// <summary>
  20. /// 生产批号
  21. /// </summary>
  22. private string lotNo = "";
  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 produccode = "";
  51. /// <summary>
  52. /// 品名描述
  53. /// </summary>
  54. private string producname = "";
  55. /// <summary>
  56. /// 钢级(牌号)代码
  57. /// </summary>
  58. private string steelcode = "";
  59. /// <summary>
  60. /// 钢级(牌号)名称
  61. /// </summary>
  62. private string steelname = "";
  63. /// <summary>
  64. /// 钢种代码
  65. /// </summary>
  66. private string gradecode = "";
  67. /// <summary>
  68. /// 钢种名称
  69. /// </summary>
  70. private string gradename = "";
  71. /// <summary>
  72. /// 产品规格代码
  73. /// </summary>
  74. private string specCode = "";
  75. /// <summary>
  76. /// 产品规格描述
  77. /// </summary>
  78. private string specName = "";
  79. /// <summary>
  80. /// 扣型代码
  81. /// </summary>
  82. private string modelCode = "";
  83. /// <summary>
  84. /// 扣型描述
  85. /// </summary>
  86. private string modelDesc = "";
  87. /// <summary>
  88. /// 标准代码[最终成品标准]
  89. /// </summary>
  90. private string stdCode = "";
  91. /// <summary>
  92. /// 标准名称
  93. /// </summary>
  94. private string stdName = "";
  95. /// <summary>
  96. /// 标准类别代码
  97. /// </summary>
  98. private string stdStyle = "";
  99. /// <summary>
  100. /// 标准类别描述(PSL1....)
  101. /// </summary>
  102. private string stdStyleDesc = "";
  103. /// <summary>
  104. /// 生产合同号(1)
  105. /// </summary>
  106. private string proOrderNo = "";
  107. /// <summary>
  108. /// 工序代码
  109. /// </summary>
  110. private string processCdoe = "";
  111. /// <summary>
  112. /// 工序名称
  113. /// </summary>
  114. private string processDesc = "";
  115. /// <summary>
  116. /// 生产产线代码
  117. /// </summary>
  118. private string plineCode = "";
  119. /// <summary>
  120. /// 生产产线名称
  121. /// </summary>
  122. private string plineName = "";
  123. /// <summary>
  124. /// 外径(实际)
  125. /// </summary>
  126. private decimal? actDimater = null;
  127. /// <summary>
  128. /// 壁厚(实际)
  129. /// </summary>
  130. private decimal? actHeight = null;
  131. /// <summary>
  132. /// 长度(实际)
  133. /// </summary>
  134. private decimal? actLen = null;
  135. /// <summary>
  136. /// 长度下限(实际)
  137. /// </summary>
  138. private string actLenMin = "";
  139. /// <summary>
  140. /// 长度上限(实际)
  141. /// </summary>
  142. private string actLenMax = "";
  143. /// <summary>
  144. /// 材料支数(实际)
  145. /// </summary>
  146. private decimal? actCount = null;
  147. /// <summary>
  148. /// 材料实重(实际)
  149. /// </summary>
  150. private decimal? actWeight = null;
  151. /// <summary>
  152. /// 所属权单位代码
  153. /// </summary>
  154. private string belongCode = "";
  155. /// <summary>
  156. /// 所属权单位
  157. /// </summary>
  158. private string belongName = "";
  159. /// <summary>
  160. /// 产品标识(ABC)
  161. /// </summary>
  162. private string target = "";
  163. /// <summary>
  164. /// 废品原因
  165. /// </summary>
  166. private string scrapReason = "";
  167. /// <summary>
  168. /// 责任单位代码
  169. /// </summary>
  170. private string belongCodeResponse = "";
  171. /// <summary>
  172. /// 责任单位
  173. /// </summary>
  174. private string belongNameResponse = "";
  175. /// <summary>
  176. /// 创建人
  177. /// </summary>
  178. private string createName = "";
  179. /// <summary>
  180. /// 创建时间
  181. /// </summary>
  182. private string createTime = "";
  183. /// <summary>
  184. /// 审核人
  185. /// </summary>
  186. private string frimName = "";
  187. /// <summary>
  188. /// 审核时间
  189. /// </summary>
  190. private string frimTime = "";
  191. /// <summary>
  192. /// 审核标识(0,未审核 1,审核通过 2,审核不通过)
  193. /// </summary>
  194. private string frimFlag = "";
  195. /// <summary>
  196. /// 结算日期(年月)
  197. /// </summary>
  198. private string balYearMonth = "";
  199. /// <summary>
  200. /// 工艺文件路径
  201. /// </summary>
  202. private string craftPath = "";
  203. /// <summary>
  204. /// 工艺文件号
  205. /// </summary>
  206. private string craftNo = "";
  207. /// <summary>
  208. /// 是否快速处理(0,否 1是)
  209. /// </summary>
  210. private string isFast = "";
  211. /// <summary>
  212. /// 退废描述
  213. /// </summary>
  214. private string scrapDesc = "";
  215. /// <summary>
  216. /// 时间差
  217. /// </summary>
  218. private string timeDiffe = "";
  219. /// <summary>
  220. /// 工艺文件号
  221. /// </summary>
  222. [Description("工艺文件号")]
  223. [Nullable(false)]
  224. [DataLength(40)]
  225. public string CraftNo
  226. {
  227. get { return craftNo; }
  228. set { craftNo = value; }
  229. }
  230. /// <summary>
  231. /// 工艺文件路径
  232. /// </summary>
  233. [Description("工艺文件路径")]
  234. [Nullable(false)]
  235. [DataLength(40)]
  236. public string CraftPath
  237. {
  238. get { return craftPath; }
  239. set { craftPath = value; }
  240. }
  241. /// <summary>
  242. /// 申请审核单号
  243. /// </summary>
  244. [Description("申请审核单号")]
  245. [Nullable(false)]
  246. [DataLength(40)]
  247. public string FailApprovalCode
  248. {
  249. get { return failApprovalCode; }
  250. set { failApprovalCode = value; }
  251. }
  252. /// <summary>
  253. /// 生产批号
  254. /// </summary>
  255. [Description("生产批号")]
  256. [Nullable(true)]
  257. [DataLength(20)]
  258. public string LotNo
  259. {
  260. get { return lotNo; }
  261. set { lotNo = value; }
  262. }
  263. /// <summary>
  264. /// 熔炼炉号
  265. /// </summary>
  266. [Description("熔炼炉号")]
  267. [Nullable(true)]
  268. [DataLength(20)]
  269. public string StoveNo
  270. {
  271. get { return stoveNo; }
  272. set { stoveNo = value; }
  273. }
  274. /// <summary>
  275. /// 判定炉号
  276. /// </summary>
  277. [Description("判定炉号")]
  278. [Nullable(true)]
  279. [DataLength(6)]
  280. public string JudgeStoveNo
  281. {
  282. get { return judgeStoveNo; }
  283. set { judgeStoveNo = value; }
  284. }
  285. /// <summary>
  286. /// 批号
  287. /// </summary>
  288. [Description("批号")]
  289. [Nullable(true)]
  290. [DataLength(20)]
  291. public string BatchNo
  292. {
  293. get { return batchNo; }
  294. set { batchNo = value; }
  295. }
  296. /// <summary>
  297. /// 组号(规格分的组号)--炉批行----性能批号(重点)---
  298. /// </summary>
  299. [Description("组号")]
  300. [Nullable(true)]
  301. [DataLength(3)]
  302. public string BatchGroudNo
  303. {
  304. get { return batchGroudNo; }
  305. set { batchGroudNo = value; }
  306. }
  307. /// <summary>
  308. /// 物料码
  309. /// </summary>
  310. [Description("物料码")]
  311. [Nullable(true)]
  312. [DataLength(40)]
  313. public string MaterialNo
  314. {
  315. get { return materialNo; }
  316. set { materialNo = value; }
  317. }
  318. /// <summary>
  319. /// 物料描叙
  320. /// </summary>
  321. [Description("物料")]
  322. [Nullable(true)]
  323. [DataLength(100)]
  324. public string MaterialName
  325. {
  326. get { return materialName; }
  327. set { materialName = value; }
  328. }
  329. /// <summary>
  330. /// 品名代码
  331. /// </summary>
  332. [Description("品名代码")]
  333. [Nullable(true)]
  334. [DataLength(20)]
  335. public string Produccode
  336. {
  337. get { return produccode; }
  338. set { produccode = value; }
  339. }
  340. /// <summary>
  341. /// 品名描述
  342. /// </summary>
  343. [Description("品名")]
  344. [Nullable(true)]
  345. [DataLength(100)]
  346. public string Producname
  347. {
  348. get { return producname; }
  349. set { producname = value; }
  350. }
  351. /// <summary>
  352. /// 钢级(牌号)代码
  353. /// </summary>
  354. [Description("钢级(牌号)代码")]
  355. [Nullable(true)]
  356. [DataLength(10)]
  357. public string Steelcode
  358. {
  359. get { return steelcode; }
  360. set { steelcode = value; }
  361. }
  362. /// <summary>
  363. /// 钢级(牌号)名称
  364. /// </summary>
  365. [Description("钢级")]
  366. [Nullable(true)]
  367. [DataLength(100)]
  368. public string Steelname
  369. {
  370. get { return steelname; }
  371. set { steelname = value; }
  372. }
  373. /// <summary>
  374. /// 钢种代码
  375. /// </summary>
  376. [Description("钢种代码")]
  377. [Nullable(true)]
  378. [DataLength(10)]
  379. public string Gradecode
  380. {
  381. get { return gradecode; }
  382. set { gradecode = value; }
  383. }
  384. /// <summary>
  385. /// 钢种名称
  386. /// </summary>
  387. [Description("钢种")]
  388. [Nullable(true)]
  389. [DataLength(100)]
  390. public string Gradename
  391. {
  392. get { return gradename; }
  393. set { gradename = value; }
  394. }
  395. /// <summary>
  396. /// 产品规格代码
  397. /// </summary>
  398. [Description("产品规格代码")]
  399. [Nullable(true)]
  400. [DataLength(20)]
  401. public string SpecCode
  402. {
  403. get { return specCode; }
  404. set { specCode = value; }
  405. }
  406. /// <summary>
  407. /// 产品规格描述
  408. /// </summary>
  409. [Description("规格")]
  410. [Nullable(true)]
  411. [DataLength(100)]
  412. public string SpecName
  413. {
  414. get { return specName; }
  415. set { specName = value; }
  416. }
  417. /// <summary>
  418. /// 扣型代码
  419. /// </summary>
  420. [Description("扣型代码")]
  421. [Nullable(true)]
  422. [DataLength(20)]
  423. public string ModelCode
  424. {
  425. get { return modelCode; }
  426. set { modelCode = value; }
  427. }
  428. /// <summary>
  429. /// 扣型描述
  430. /// </summary>
  431. [Description("扣型")]
  432. [Nullable(true)]
  433. [DataLength(100)]
  434. public string ModelDesc
  435. {
  436. get { return modelDesc; }
  437. set { modelDesc = value; }
  438. }
  439. /// <summary>
  440. /// 标准代码[最终成品标准]
  441. /// </summary>
  442. [Description("标准代码[最终成品标准]")]
  443. [Nullable(true)]
  444. [DataLength(30)]
  445. public string StdCode
  446. {
  447. get { return stdCode; }
  448. set { stdCode = value; }
  449. }
  450. /// <summary>
  451. /// 标准名称
  452. /// </summary>
  453. [Description("标准名称")]
  454. [Nullable(true)]
  455. [DataLength(256)]
  456. public string StdName
  457. {
  458. get { return stdName; }
  459. set { stdName = value; }
  460. }
  461. /// <summary>
  462. /// 标准类别代码
  463. /// </summary>
  464. [Description("标准类别代码")]
  465. [Nullable(true)]
  466. [DataLength(20)]
  467. public string StdStyle
  468. {
  469. get { return stdStyle; }
  470. set { stdStyle = value; }
  471. }
  472. /// <summary>
  473. /// 标准类别描述(PSL1....)
  474. /// </summary>
  475. [Description("标准类别")]
  476. [Nullable(true)]
  477. [DataLength(50)]
  478. public string StdStyleDesc
  479. {
  480. get { return stdStyleDesc; }
  481. set { stdStyleDesc = value; }
  482. }
  483. /// <summary>
  484. /// 生产合同号(1)
  485. /// </summary>
  486. [Description("生产合同号")]
  487. [Nullable(true)]
  488. [DataLength(25)]
  489. public string ProOrderNo
  490. {
  491. get { return proOrderNo; }
  492. set { proOrderNo = value; }
  493. }
  494. /// <summary>
  495. /// 工序代码
  496. /// </summary>
  497. [Description("工序代码")]
  498. [Nullable(true)]
  499. [DataLength(8)]
  500. public string ProcessCdoe
  501. {
  502. get { return processCdoe; }
  503. set { processCdoe = value; }
  504. }
  505. /// <summary>
  506. /// 工序名称
  507. /// </summary>
  508. [Description("工序名称")]
  509. [Nullable(true)]
  510. [DataLength(20)]
  511. public string ProcessDesc
  512. {
  513. get { return processDesc; }
  514. set { processDesc = value; }
  515. }
  516. /// <summary>
  517. /// 生产产线代码
  518. /// </summary>
  519. [Description("生产产线代码")]
  520. [Nullable(true)]
  521. [DataLength(20)]
  522. public string PlineCode
  523. {
  524. get { return plineCode; }
  525. set { plineCode = value; }
  526. }
  527. /// <summary>
  528. /// 生产产线名称
  529. /// </summary>
  530. [Description("产线")]
  531. [Nullable(true)]
  532. [DataLength(100)]
  533. public string PlineName
  534. {
  535. get { return plineName; }
  536. set { plineName = value; }
  537. }
  538. /// <summary>
  539. /// 外径(实际)
  540. /// </summary>
  541. [Description("外径")]
  542. [Nullable(true)]
  543. [DataLength(5)]
  544. public decimal? ActDimater
  545. {
  546. get { return actDimater; }
  547. set { actDimater = value; }
  548. }
  549. /// <summary>
  550. /// 壁厚(实际)
  551. /// </summary>
  552. [Description("壁厚")]
  553. [Nullable(true)]
  554. [DataLength(5)]
  555. public decimal? ActHeight
  556. {
  557. get { return actHeight; }
  558. set { actHeight = value; }
  559. }
  560. /// <summary>
  561. /// 长度(实际)
  562. /// </summary>
  563. [Description("长度")]
  564. [Nullable(true)]
  565. [DataLength(9)]
  566. public decimal? ActLen
  567. {
  568. get { return actLen; }
  569. set { actLen = value; }
  570. }
  571. /// <summary>
  572. /// 长度下限(实际)
  573. /// </summary>
  574. [Description("长度下限")]
  575. [Nullable(true)]
  576. [DataLength(10)]
  577. public string ActLenMin
  578. {
  579. get { return actLenMin; }
  580. set { actLenMin = value; }
  581. }
  582. /// <summary>
  583. /// 长度上限(实际)
  584. /// </summary>
  585. [Description("长度上限")]
  586. [Nullable(true)]
  587. [DataLength(10)]
  588. public string ActLenMax
  589. {
  590. get { return actLenMax; }
  591. set { actLenMax = value; }
  592. }
  593. /// <summary>
  594. /// 材料支数(实际)
  595. /// </summary>
  596. [Description("支数")]
  597. [Nullable(true)]
  598. [DataLength(5)]
  599. public decimal? ActCount
  600. {
  601. get { return actCount; }
  602. set { actCount = value; }
  603. }
  604. /// <summary>
  605. /// 材料实重(实际)
  606. /// </summary>
  607. [Description("重量")]
  608. [Nullable(true)]
  609. [DataLength(11)]
  610. public decimal? ActWeight
  611. {
  612. get { return actWeight; }
  613. set { actWeight = value; }
  614. }
  615. /// <summary>
  616. /// 所属权单位代码
  617. /// </summary>
  618. [Description("所属权单位代码")]
  619. [Nullable(true)]
  620. [DataLength(40)]
  621. public string BelongCode
  622. {
  623. get { return belongCode; }
  624. set { belongCode = value; }
  625. }
  626. /// <summary>
  627. /// 所属权单位
  628. /// </summary>
  629. [Description("所属权单位")]
  630. [Nullable(true)]
  631. [DataLength(50)]
  632. public string BelongName
  633. {
  634. get { return belongName; }
  635. set { belongName = value; }
  636. }
  637. /// <summary>
  638. /// 产品标识(ABC)
  639. /// </summary>
  640. [Description("产品标识")]
  641. [Nullable(true)]
  642. [DataLength(20)]
  643. public string Target
  644. {
  645. get { return target; }
  646. set { target = value; }
  647. }
  648. /// <summary>
  649. /// 废品原因
  650. /// </summary>
  651. [Description("废品原因")]
  652. [Nullable(true)]
  653. [DataLength(100)]
  654. public string ScrapReason
  655. {
  656. get { return scrapReason; }
  657. set { scrapReason = value; }
  658. }
  659. /// <summary>
  660. /// 责任单位代码
  661. /// </summary>
  662. [Description("责任单位代码")]
  663. [Nullable(true)]
  664. [DataLength(20)]
  665. public string BelongCodeResponse
  666. {
  667. get { return belongCodeResponse; }
  668. set { belongCodeResponse = value; }
  669. }
  670. /// <summary>
  671. /// 责任单位
  672. /// </summary>
  673. [Description("责任单位")]
  674. [Nullable(true)]
  675. [DataLength(100)]
  676. public string BelongNameResponse
  677. {
  678. get { return belongNameResponse; }
  679. set { belongNameResponse = value; }
  680. }
  681. /// <summary>
  682. /// 创建人
  683. /// </summary>
  684. [Description("申请人")]
  685. [Nullable(true)]
  686. [DataLength(20)]
  687. public string CreateName
  688. {
  689. get { return createName; }
  690. set { createName = value; }
  691. }
  692. /// <summary>
  693. /// 创建时间
  694. /// </summary>
  695. [Description("申请时间")]
  696. [Nullable(true)]
  697. public string CreateTime
  698. {
  699. get { return createTime; }
  700. set { createTime = value; }
  701. }
  702. /// <summary>
  703. /// 审核人
  704. /// </summary>
  705. [Description("审核人")]
  706. [Nullable(true)]
  707. [DataLength(20)]
  708. public string FrimName
  709. {
  710. get { return frimName; }
  711. set { frimName = value; }
  712. }
  713. /// <summary>
  714. /// 审核时间
  715. /// </summary>
  716. [Description("审核时间")]
  717. [Nullable(true)]
  718. public string FrimTime
  719. {
  720. get { return frimTime; }
  721. set { frimTime = value; }
  722. }
  723. /// <summary>
  724. /// 审核标识(0,未审核 1,审核通过 2,审核不通过)
  725. /// </summary>
  726. [Description("是否审核")]
  727. [Nullable(true)]
  728. [DataLength(1)]
  729. public string FrimFlag
  730. {
  731. get { return frimFlag; }
  732. set { frimFlag = value; }
  733. }
  734. /// <summary>
  735. /// 结算日期(年月)
  736. /// </summary>
  737. [Description("结转年月")]
  738. [Nullable(true)]
  739. [DataLength(6)]
  740. public string BalYearMonth
  741. {
  742. get { return balYearMonth; }
  743. set { balYearMonth = value; }
  744. }
  745. [Description("是否快速处理")]
  746. [Nullable(true)]
  747. public string IsFast
  748. {
  749. get { return isFast; }
  750. set { isFast = value; }
  751. }
  752. /// <summary>
  753. /// 退废描述
  754. /// </summary>
  755. [Description("退废描述")]
  756. [Nullable(true)]
  757. public string ScrapDesc
  758. {
  759. get { return scrapDesc; }
  760. set { scrapDesc = value; }
  761. }
  762. [Description("时间差")]
  763. [Nullable(true)]
  764. public string TimeDiffe
  765. {
  766. get { return timeDiffe; }
  767. set { timeDiffe = value; }
  768. }
  769. }
  770. }