SlmBaseMaterialBPlEntity.cs 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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. /// 铸造工序
  11. /// </summary>
  12. /// <summary>
  13. /// 数据库表SLM_BASE_MATERIAL_B_PL所对应的实体类(生成工具:代码生成工具3.0)
  14. /// 作者:DESKTOP-LI8OG3P 时间:2016-08-12
  15. /// </summary>
  16. public class SlmBaseMaterialBPlEntity
  17. {
  18. /// <summary>
  19. /// 投入物料编码
  20. /// </summary>
  21. private string inMaterialNo = "";
  22. /// <summary>
  23. /// 产出物料编码
  24. /// </summary>
  25. private string outMaterialNo = "";
  26. /// <summary>
  27. /// 投入物料编码
  28. /// </summary>
  29. private string inMaterialDesc = "";
  30. /// <summary>
  31. /// 产出物料编码
  32. /// </summary>
  33. private string outMaterialDesc = "";
  34. /// <summary>
  35. /// 产线代码
  36. /// </summary>
  37. private string plineCode = "";
  38. /// <summary>
  39. /// 产线描述
  40. /// </summary>
  41. private string plineName = "";
  42. /// <summary>
  43. /// 小时能力(t/h)
  44. /// </summary>
  45. private decimal? hrCapcty = null;
  46. /// <summary>
  47. /// 成材率(%)
  48. /// </summary>
  49. private decimal? prdRate = null;
  50. /// <summary>
  51. /// 禁用标识(依据监制点的信息可以获取)
  52. /// </summary>
  53. private bool disableFl ;
  54. /// <summary>
  55. /// 创建人
  56. /// </summary>
  57. private string createName = "";
  58. /// <summary>
  59. /// 创建时间
  60. /// </summary>
  61. private string createTime = "";
  62. /// <summary>
  63. /// 修改人
  64. /// </summary>
  65. private string updateName = "";
  66. /// <summary>
  67. /// 修改时间
  68. /// </summary>
  69. private string updateTime = "";
  70. /// <summary>
  71. /// 删除人
  72. /// </summary>
  73. private string deleteName = "";
  74. /// <summary>
  75. /// 删除时间
  76. /// </summary>
  77. private string deleteTime = "";
  78. /// <summary>
  79. /// 优先级
  80. /// </summary>
  81. private decimal? plineLevel = null;
  82. /// <summary>
  83. /// 浇次允许最大炉数
  84. /// </summary>
  85. private decimal? stoveCnt = null;
  86. /// <summary>
  87. /// 加工成本
  88. /// </summary>
  89. private decimal? processingCost = null;
  90. /// <summary>
  91. /// 完全成本
  92. /// </summary>
  93. private decimal? totalCost = null;
  94. /// <summary>
  95. /// 投入物料编码
  96. /// </summary>
  97. [Description("投入物料编码")]
  98. [Nullable(false)]
  99. [DataLength(30)]
  100. public string InMaterialNo
  101. {
  102. get { return inMaterialNo; }
  103. set { inMaterialNo = value; }
  104. }
  105. /// <summary>
  106. /// 产出物料编码
  107. /// </summary>
  108. [Description("产出物料编码")]
  109. [Nullable(false)]
  110. [DataLength(30)]
  111. public string OutMaterialNo
  112. {
  113. get { return outMaterialNo; }
  114. set { outMaterialNo = value; }
  115. }
  116. [Description("投入物料")]
  117. [Nullable(false)]
  118. [DataLength(30)]
  119. public string InMaterialDesc
  120. {
  121. get { return inMaterialDesc; }
  122. set { inMaterialDesc = value; }
  123. }
  124. [Description("产出物料")]
  125. [Nullable(false)]
  126. [DataLength(30)]
  127. public string OutMaterialDesc
  128. {
  129. get { return outMaterialDesc; }
  130. set { outMaterialDesc = value; }
  131. }
  132. /// <summary>
  133. /// 产线代码
  134. /// </summary>
  135. [Description("产线代码")]
  136. [Nullable(false)]
  137. [DataLength(20)]
  138. public string PlineCode
  139. {
  140. get { return plineCode; }
  141. set { plineCode = value; }
  142. }
  143. /// <summary>
  144. /// 产线描述
  145. /// </summary>
  146. [Description("产线描述")]
  147. [Nullable(false)]
  148. [DataLength(100)]
  149. public string PlineName
  150. {
  151. get { return plineName; }
  152. set { plineName = value; }
  153. }
  154. /// <summary>
  155. /// 小时能力(t/h)
  156. /// </summary>
  157. [Description("小时能力(分钟/炉)")]
  158. [Nullable(true)]
  159. [DataLength(8)]
  160. public decimal? HrCapcty
  161. {
  162. get { return hrCapcty; }
  163. set { hrCapcty = value; }
  164. }
  165. /// <summary>
  166. /// 成材率(%)
  167. /// </summary>
  168. [Description("成材率(%)")]
  169. [Nullable(true)]
  170. [DataLength(4)]
  171. public decimal? PrdRate
  172. {
  173. get { return prdRate; }
  174. set { prdRate = value; }
  175. }
  176. /// <summary>
  177. /// 禁用标识(依据监制点的信息可以获取)
  178. /// </summary>
  179. [Description("禁用标识")]
  180. [Nullable(true)]
  181. [DataLength(1)]
  182. public bool DisableFl
  183. {
  184. get { return disableFl; }
  185. set { disableFl = value; }
  186. }
  187. /// <summary>
  188. /// 创建人
  189. /// </summary>
  190. [Description("创建人")]
  191. [Nullable(true)]
  192. [DataLength(20)]
  193. public string CreateName
  194. {
  195. get { return createName; }
  196. set { createName = value; }
  197. }
  198. /// <summary>
  199. /// 创建时间
  200. /// </summary>
  201. [Description("创建时间")]
  202. [Nullable(true)]
  203. public string CreateTime
  204. {
  205. get { return createTime; }
  206. set { createTime = value; }
  207. }
  208. /// <summary>
  209. /// 修改人
  210. /// </summary>
  211. [Description("修改人")]
  212. [Nullable(true)]
  213. [DataLength(20)]
  214. public string UpdateName
  215. {
  216. get { return updateName; }
  217. set { updateName = value; }
  218. }
  219. /// <summary>
  220. /// 修改时间
  221. /// </summary>
  222. [Description("修改时间")]
  223. [Nullable(true)]
  224. public string UpdateTime
  225. {
  226. get { return updateTime; }
  227. set { updateTime = value; }
  228. }
  229. /// <summary>
  230. /// 删除人
  231. /// </summary>
  232. [Description("删除人")]
  233. [Nullable(true)]
  234. [DataLength(20)]
  235. public string DeleteName
  236. {
  237. get { return deleteName; }
  238. set { deleteName = value; }
  239. }
  240. /// <summary>
  241. /// 删除时间
  242. /// </summary>
  243. [Description("删除时间")]
  244. [Nullable(true)]
  245. public string DeleteTime
  246. {
  247. get { return deleteTime; }
  248. set { deleteTime = value; }
  249. }
  250. /// <summary>
  251. /// 优先级
  252. /// </summary>
  253. [Description("优先级")]
  254. [Nullable(true)]
  255. [DataLength(22)]
  256. public decimal? PlineLevel
  257. {
  258. get { return plineLevel; }
  259. set { plineLevel = value; }
  260. }
  261. /// <summary>
  262. /// 浇次允许最大炉数
  263. /// </summary>
  264. [Description("浇次允许最大炉数")]
  265. [Nullable(true)]
  266. [DataLength(22)]
  267. public decimal? StoveCnt
  268. {
  269. get { return stoveCnt; }
  270. set { stoveCnt = value; }
  271. }
  272. /// <summary>
  273. /// 加工成本
  274. /// </summary>
  275. [Description("加工成本")]
  276. [Nullable(true)]
  277. [DataLength(9)]
  278. public decimal? ProcessingCost
  279. {
  280. get { return processingCost; }
  281. set { processingCost = value; }
  282. }
  283. /// <summary>
  284. /// 完全成本
  285. /// </summary>
  286. [Description("完全成本")]
  287. [Nullable(true)]
  288. [DataLength(9)]
  289. public decimal? TotalCost
  290. {
  291. get { return totalCost; }
  292. set { totalCost = value; }
  293. }
  294. }
  295. }