CraftSamplingMEntity.cs 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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.Lims.Port.数据管理.实体类
  8. {
  9. /// <summary>
  10. /// 数据库表CRAFT_SAMPLING_M所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:DM22222 时间:2018-05-14
  12. /// </summary>
  13. public class CraftSamplingMEntity
  14. {
  15. /// <summary>
  16. /// 工艺文件号
  17. /// </summary>
  18. private string craftNo = "";
  19. /// <summary>
  20. /// 工序代码
  21. /// </summary>
  22. private string processCode = "";
  23. /// <summary>
  24. /// 根据批数分情况讨论
  25. /// </summary>
  26. private decimal? batchNum = null;
  27. /// <summary>
  28. /// 第几批
  29. /// </summary>
  30. private decimal? batchNo = null;
  31. /// <summary>
  32. /// 无注释
  33. /// </summary>
  34. private decimal? sampleLength = null;
  35. /// <summary>
  36. /// 取样位置代码(4012)
  37. /// </summary>
  38. private string position = "";
  39. /// <summary>
  40. /// 取样位置描述
  41. /// </summary>
  42. private string descPosition = "";
  43. /// <summary>
  44. /// 样管个数
  45. /// </summary>
  46. private decimal? sampleCount = null;
  47. /// <summary>
  48. /// 备注
  49. /// </summary>
  50. private string remark = "";
  51. /// <summary>
  52. /// 试样组集合
  53. /// </summary>
  54. private string phyNameGroup = "";
  55. /// <summary>
  56. /// 试样组代码集合
  57. /// </summary>
  58. private string phyCodeGroup = "";
  59. /// <summary>
  60. /// 根据炉数分情况讨论,可能是公式 5n+2 或者<=2
  61. /// </summary>
  62. private string stoveNum = "";
  63. /// <summary>
  64. /// ORD_LN_PK(ORD_PK+三位流失号)
  65. /// </summary>
  66. private string ordLnPk = "";
  67. /// <summary>
  68. /// 序号
  69. /// </summary>
  70. private decimal? craftSeq = null;
  71. /// <summary>
  72. /// 工艺文件号
  73. /// </summary>
  74. [Description("工艺文件号")]
  75. [Nullable(false)]
  76. [DataLength(150)]
  77. public string CraftNo
  78. {
  79. get { return craftNo; }
  80. set { craftNo = value; }
  81. }
  82. /// <summary>
  83. /// 工序代码
  84. /// </summary>
  85. [Description("工序代码")]
  86. [Nullable(false)]
  87. [DataLength(100)]
  88. public string ProcessCode
  89. {
  90. get { return processCode; }
  91. set { processCode = value; }
  92. }
  93. /// <summary>
  94. /// 根据批数分情况讨论
  95. /// </summary>
  96. [Description("根据批数分情况讨论")]
  97. [Nullable(true)]
  98. [DataLength(22)]
  99. public decimal? BatchNum
  100. {
  101. get { return batchNum; }
  102. set { batchNum = value; }
  103. }
  104. /// <summary>
  105. /// 第几批
  106. /// </summary>
  107. [Description("第几批")]
  108. [Nullable(true)]
  109. [DataLength(22)]
  110. public decimal? BatchNo
  111. {
  112. get { return batchNo; }
  113. set { batchNo = value; }
  114. }
  115. /// <summary>
  116. /// 无注释
  117. /// </summary>
  118. [Description("无注释")]
  119. [Nullable(true)]
  120. [DataLength(22)]
  121. public decimal? SampleLength
  122. {
  123. get { return sampleLength; }
  124. set { sampleLength = value; }
  125. }
  126. /// <summary>
  127. /// 取样位置代码(4012)
  128. /// </summary>
  129. [Description("取样位置代码(4012)")]
  130. [Nullable(true)]
  131. [DataLength(20)]
  132. public string Position
  133. {
  134. get { return position; }
  135. set { position = value; }
  136. }
  137. /// <summary>
  138. /// 取样位置描述
  139. /// </summary>
  140. [Description("取样位置描述")]
  141. [Nullable(true)]
  142. [DataLength(200)]
  143. public string DescPosition
  144. {
  145. get { return descPosition; }
  146. set { descPosition = value; }
  147. }
  148. /// <summary>
  149. /// 样管个数
  150. /// </summary>
  151. [Description("样管个数")]
  152. [Nullable(true)]
  153. [DataLength(22)]
  154. public decimal? SampleCount
  155. {
  156. get { return sampleCount; }
  157. set { sampleCount = value; }
  158. }
  159. /// <summary>
  160. /// 备注
  161. /// </summary>
  162. [Description("备注")]
  163. [Nullable(true)]
  164. [DataLength(200)]
  165. public string Remark
  166. {
  167. get { return remark; }
  168. set { remark = value; }
  169. }
  170. /// <summary>
  171. /// 试样组集合
  172. /// </summary>
  173. [Description("试样组集合")]
  174. [Nullable(true)]
  175. [DataLength(200)]
  176. public string PhyNameGroup
  177. {
  178. get { return phyNameGroup; }
  179. set { phyNameGroup = value; }
  180. }
  181. /// <summary>
  182. /// 试样组代码集合
  183. /// </summary>
  184. [Description("试样组代码集合")]
  185. [Nullable(true)]
  186. [DataLength(200)]
  187. public string PhyCodeGroup
  188. {
  189. get { return phyCodeGroup; }
  190. set { phyCodeGroup = value; }
  191. }
  192. /// <summary>
  193. /// 根据炉数分情况讨论,可能是公式 5n+2 或者<=2
  194. /// </summary>
  195. [Description("根据炉数分情况讨论,可能是公式 5n+2 或者<=2")]
  196. [Nullable(true)]
  197. [DataLength(20)]
  198. public string StoveNum
  199. {
  200. get { return stoveNum; }
  201. set { stoveNum = value; }
  202. }
  203. /// <summary>
  204. /// ORD_LN_PK(ORD_PK+三位流失号)
  205. /// </summary>
  206. [Description("ORD_LN_PK(ORD_PK+三位流失号)")]
  207. [Nullable(true)]
  208. [DataLength(40)]
  209. public string OrdLnPk
  210. {
  211. get { return ordLnPk; }
  212. set { ordLnPk = value; }
  213. }
  214. /// <summary>
  215. /// 序号
  216. /// </summary>
  217. [Description("序号")]
  218. [Nullable(true)]
  219. [DataLength(22)]
  220. public decimal? CraftSeq
  221. {
  222. get { return craftSeq; }
  223. set { craftSeq = value; }
  224. }
  225. }
  226. }