CostCalculationEEntity.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  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.PnCost.Models
  8. {
  9. /// <summary>
  10. /// 数据库表COST_CALCULATION_E所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:doubi-PC 时间:2016-11-22
  12. /// </summary>
  13. public class CostCalculationEEntity
  14. {
  15. /// <summary>
  16. /// 排产年月
  17. /// </summary>
  18. private string yearMonth = "";
  19. /// <summary>
  20. /// 轧管订单编号
  21. /// </summary>
  22. private string proPlanId = "";
  23. /// <summary>
  24. /// 投入物料编码
  25. /// </summary>
  26. private string eInMaterialNo = "";
  27. /// <summary>
  28. /// 产出物料编码
  29. /// </summary>
  30. private string eOutMaterialNo = "";
  31. /// <summary>
  32. /// 产线
  33. /// </summary>
  34. private string ePline = "";
  35. /// <summary>
  36. /// 小时能力(t/h)
  37. /// </summary>
  38. private decimal? eHrCapcty = null;
  39. /// <summary>
  40. /// 成材率(%)
  41. /// </summary>
  42. private decimal? ePrdRate = null;
  43. /// <summary>
  44. /// 排产量(产出量)
  45. /// </summary>
  46. private decimal? weigthSE = null;
  47. /// <summary>
  48. /// 制造总成本(元)
  49. /// </summary>
  50. private decimal? eZzcbCost = null;
  51. /// <summary>
  52. /// 返回金额
  53. /// </summary>
  54. private decimal? eFhCost = null;
  55. /// <summary>
  56. /// 镦拨扩订单编号
  57. /// </summary>
  58. private string proPlanIdE = "";
  59. /// <summary>
  60. /// 折标后加工费(元)
  61. /// </summary>
  62. private decimal? eZbjgfCost = null;
  63. /// <summary>
  64. /// 完全成本(元)
  65. /// </summary>
  66. private decimal? eZcbCost = null;
  67. /// <summary>
  68. /// 总投入量
  69. /// </summary>
  70. private decimal? eInWeigthS = null;
  71. /// <summary>
  72. /// 投入物料描述
  73. /// </summary>
  74. private string eInMaterialDesc = "";
  75. /// <summary>
  76. /// 产出物料描述
  77. /// </summary>
  78. private string eOutMaterialDesc = "";
  79. /// <summary>
  80. /// 品名描述
  81. /// </summary>
  82. private string producname = "";
  83. /// <summary>
  84. /// 钢级(牌号)名称
  85. /// </summary>
  86. private string steelname = "";
  87. /// <summary>
  88. /// 标准类别描述
  89. /// </summary>
  90. private string stdStyleDesc = "";
  91. /// <summary>
  92. /// 产品规格描述
  93. /// </summary>
  94. private string specName = "";
  95. /// <summary>
  96. /// 扣型描述
  97. /// </summary>
  98. private string modelDesc = "";
  99. /// <summary>
  100. /// 合同号/行号
  101. /// </summary>
  102. private string orderNo = "";
  103. /// <summary>
  104. /// 客户名称
  105. /// </summary>
  106. private string customerNm = "";
  107. /// <summary>
  108. /// 销售组织描述
  109. /// </summary>
  110. private string saleOrgDesc = "";
  111. /// <summary>
  112. /// 排产年月
  113. /// </summary>
  114. [Description("排产年月")]
  115. [Nullable(false)]
  116. [DataLength(6)]
  117. public string YearMonth
  118. {
  119. get { return yearMonth; }
  120. set { yearMonth = value; }
  121. }
  122. /// <summary>
  123. /// 轧管订单编号
  124. /// </summary>
  125. [Description("轧管订单编号")]
  126. [Nullable(false)]
  127. [DataLength(20)]
  128. public string ProPlanId
  129. {
  130. get { return proPlanId; }
  131. set { proPlanId = value; }
  132. }
  133. /// <summary>
  134. /// 投入物料编码
  135. /// </summary>
  136. [Description("投入物料编码 ")]
  137. [Nullable(true)]
  138. [DataLength(30)]
  139. public string EInMaterialNo
  140. {
  141. get { return eInMaterialNo; }
  142. set { eInMaterialNo = value; }
  143. }
  144. /// <summary>
  145. /// 产出物料编码
  146. /// </summary>
  147. [Description("产出物料编码")]
  148. [Nullable(true)]
  149. [DataLength(30)]
  150. public string EOutMaterialNo
  151. {
  152. get { return eOutMaterialNo; }
  153. set { eOutMaterialNo = value; }
  154. }
  155. /// <summary>
  156. /// 产线
  157. /// </summary>
  158. [Description("产线")]
  159. [Nullable(true)]
  160. [DataLength(20)]
  161. public string EPline
  162. {
  163. get { return ePline; }
  164. set { ePline = value; }
  165. }
  166. /// <summary>
  167. /// 小时能力(t/h)
  168. /// </summary>
  169. [Description("小时能力(支/小时)")]
  170. [Nullable(true)]
  171. [DataLength(8)]
  172. public decimal? EHrCapcty
  173. {
  174. get { return eHrCapcty; }
  175. set { eHrCapcty = value; }
  176. }
  177. /// <summary>
  178. /// 成材率(%)
  179. /// </summary>
  180. [Description("成材率(%)")]
  181. [Nullable(true)]
  182. [DataLength(8)]
  183. public decimal? EPrdRate
  184. {
  185. get { return ePrdRate; }
  186. set { ePrdRate = value; }
  187. }
  188. /// <summary>
  189. /// 排产量(产出量)
  190. /// </summary>
  191. [Description("排产量(t)")]
  192. [Nullable(true)]
  193. [DataLength(15)]
  194. public decimal? WeigthSE
  195. {
  196. get { return weigthSE; }
  197. set { weigthSE = value; }
  198. }
  199. /// <summary>
  200. /// 制造总成本(元)
  201. /// </summary>
  202. [Description("制造总成本(元)")]
  203. [Nullable(true)]
  204. [DataLength(15)]
  205. public decimal? EZzcbCost
  206. {
  207. get { return eZzcbCost; }
  208. set { eZzcbCost = value; }
  209. }
  210. /// <summary>
  211. /// 返回金额
  212. /// </summary>
  213. [Description("返回金额(元)")]
  214. [Nullable(true)]
  215. [DataLength(15)]
  216. public decimal? EFhCost
  217. {
  218. get { return eFhCost; }
  219. set { eFhCost = value; }
  220. }
  221. /// <summary>
  222. /// 镦拨扩订单编号
  223. /// </summary>
  224. [Description("镦拨扩订单编号")]
  225. [Nullable(false)]
  226. [DataLength(20)]
  227. public string ProPlanIdE
  228. {
  229. get { return proPlanIdE; }
  230. set { proPlanIdE = value; }
  231. }
  232. /// <summary>
  233. /// 折标后加工费(元)
  234. /// </summary>
  235. [Description("折标后加工费(元)")]
  236. [Nullable(true)]
  237. [DataLength(15)]
  238. public decimal? EZbjgfCost
  239. {
  240. get { return eZbjgfCost; }
  241. set { eZbjgfCost = value; }
  242. }
  243. /// <summary>
  244. /// 完全成本(元)
  245. /// </summary>
  246. [Description("完全成本(元)")]
  247. [Nullable(true)]
  248. [DataLength(15)]
  249. public decimal? EZcbCost
  250. {
  251. get { return eZcbCost; }
  252. set { eZcbCost = value; }
  253. }
  254. /// <summary>
  255. /// 总投入量
  256. /// </summary>
  257. [Description("总投入量(t)")]
  258. [Nullable(true)]
  259. [DataLength(15)]
  260. public decimal? EInWeigthS
  261. {
  262. get { return eInWeigthS; }
  263. set { eInWeigthS = value; }
  264. }
  265. /// <summary>
  266. /// 投入物料描述
  267. /// </summary>
  268. [Description("投入物料")]
  269. [Nullable(true)]
  270. [DataLength(100)]
  271. public string EInMaterialDesc
  272. {
  273. get { return eInMaterialDesc; }
  274. set { eInMaterialDesc = value; }
  275. }
  276. /// <summary>
  277. /// 产出物料描述
  278. /// </summary>
  279. [Description("产出物料")]
  280. [Nullable(true)]
  281. [DataLength(100)]
  282. public string EOutMaterialDesc
  283. {
  284. get { return eOutMaterialDesc; }
  285. set { eOutMaterialDesc = value; }
  286. }
  287. /// <summary>
  288. /// 品名描述
  289. /// </summary>
  290. [Description("品名")]
  291. [Nullable(true)]
  292. [DataLength(100)]
  293. public string Producname
  294. {
  295. get { return producname; }
  296. set { producname = value; }
  297. }
  298. /// <summary>
  299. /// 钢级(牌号)名称
  300. /// </summary>
  301. [Description("钢级(牌号)")]
  302. [Nullable(true)]
  303. [DataLength(100)]
  304. public string Steelname
  305. {
  306. get { return steelname; }
  307. set { steelname = value; }
  308. }
  309. /// <summary>
  310. /// 标准类别描述
  311. /// </summary>
  312. [Description("标准类别")]
  313. [Nullable(true)]
  314. [DataLength(50)]
  315. public string StdStyleDesc
  316. {
  317. get { return stdStyleDesc; }
  318. set { stdStyleDesc = value; }
  319. }
  320. /// <summary>
  321. /// 产品规格描述
  322. /// </summary>
  323. [Description("产品规格")]
  324. [Nullable(true)]
  325. [DataLength(100)]
  326. public string SpecName
  327. {
  328. get { return specName; }
  329. set { specName = value; }
  330. }
  331. /// <summary>
  332. /// 扣型描述
  333. /// </summary>
  334. [Description("扣型")]
  335. [Nullable(true)]
  336. [DataLength(100)]
  337. public string ModelDesc
  338. {
  339. get { return modelDesc; }
  340. set { modelDesc = value; }
  341. }
  342. /// <summary>
  343. /// 合同号/行号
  344. /// </summary>
  345. [Description("合同号/行号")]
  346. [Nullable(true)]
  347. [DataLength(25)]
  348. public string OrderNo
  349. {
  350. get { return orderNo; }
  351. set { orderNo = value; }
  352. }
  353. /// <summary>
  354. /// 客户名称
  355. /// </summary>
  356. [Description("客户名称")]
  357. [Nullable(true)]
  358. [DataLength(60)]
  359. public string CustomerNm
  360. {
  361. get { return customerNm; }
  362. set { customerNm = value; }
  363. }
  364. /// <summary>
  365. /// 销售组织描述
  366. /// </summary>
  367. [Description("销售组织")]
  368. [Nullable(true)]
  369. [DataLength(20)]
  370. public string SaleOrgDesc
  371. {
  372. get { return saleOrgDesc; }
  373. set { saleOrgDesc = value; }
  374. }
  375. }
  376. }