SlmBaseMaterialHPlEntity.cs 8.7 KB

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