CmmRecordTemplateEntity.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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.Mcp.Mch.Mcms.entity
  8. {
  9. /// <summary>
  10. /// 数据库表CMM_RECORD_TEMPLATE所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:朱少波 时间:2020-11-12
  12. /// </summary>
  13. public class CmmRecordTemplateEntity
  14. {
  15. /// <summary>
  16. /// 模板流水号 YYYYMMDD + 3位流水
  17. /// </summary>
  18. private string templateNo = "";
  19. /// <summary>
  20. /// 模板名
  21. /// </summary>
  22. private string templateName = "";
  23. /// <summary>
  24. /// 模板适用磅房编码
  25. /// </summary>
  26. private string templateLocation = "";
  27. /// <summary>
  28. /// 模板关键字
  29. /// </summary>
  30. private string templateKey = "";
  31. /// <summary>
  32. /// 模板转化的xml文件
  33. /// </summary>
  34. private string templateXml = "";
  35. /// <summary>
  36. /// 作废时间
  37. /// </summary>
  38. private string deleteDate = "";
  39. /// <summary>
  40. /// 作废人
  41. /// </summary>
  42. private string deleteUser = "";
  43. /// <summary>
  44. /// 有效标志(1:有效,0:无效)
  45. /// </summary>
  46. private string validflag = "";
  47. /// <summary>
  48. /// 创建人
  49. /// </summary>
  50. private string createUser = "";
  51. /// <summary>
  52. /// 创建时间
  53. /// </summary>
  54. private string createDate = "";
  55. /// <summary>
  56. /// 模板流水号 YYYYMMDD + 3位流水
  57. /// </summary>
  58. [Description("模板流水号 YYYYMMDD + 3位流水")]
  59. [Nullable(true)]
  60. [DataLength(20)]
  61. public string TemplateNo
  62. {
  63. get { return templateNo; }
  64. set { templateNo = value; }
  65. }
  66. /// <summary>
  67. /// 模板名
  68. /// </summary>
  69. [Description("模板名")]
  70. [Nullable(true)]
  71. [DataLength(40)]
  72. public string TemplateName
  73. {
  74. get { return templateName; }
  75. set { templateName = value; }
  76. }
  77. /// <summary>
  78. /// 模板适用磅房编码
  79. /// </summary>
  80. [Description("模板适用磅房编码")]
  81. [Nullable(true)]
  82. [DataLength(10)]
  83. public string TemplateLocation
  84. {
  85. get { return templateLocation; }
  86. set { templateLocation = value; }
  87. }
  88. /// <summary>
  89. /// 模板关键字
  90. /// </summary>
  91. [Description("模板关键字")]
  92. [Nullable(true)]
  93. [DataLength(10)]
  94. public string TemplateKey
  95. {
  96. get { return templateKey; }
  97. set { templateKey = value; }
  98. }
  99. /// <summary>
  100. /// 模板转化的xml文件
  101. /// </summary>
  102. [Description("模板转化的xml文件")]
  103. [Nullable(true)]
  104. [DataLength(4000)]
  105. public string TemplateXml
  106. {
  107. get { return templateXml; }
  108. set { templateXml = value; }
  109. }
  110. /// <summary>
  111. /// 作废时间
  112. /// </summary>
  113. [Description("作废时间")]
  114. [Nullable(true)]
  115. public string DeleteDate
  116. {
  117. get { return deleteDate; }
  118. set { deleteDate = value; }
  119. }
  120. /// <summary>
  121. /// 作废人
  122. /// </summary>
  123. [Description("作废人")]
  124. [Nullable(true)]
  125. [DataLength(10)]
  126. public string DeleteUser
  127. {
  128. get { return deleteUser; }
  129. set { deleteUser = value; }
  130. }
  131. /// <summary>
  132. /// 有效标志(1:有效,0:无效)
  133. /// </summary>
  134. [Description("有效标志(1:有效,0:无效)")]
  135. [Nullable(false)]
  136. [DataLength(1)]
  137. public string Validflag
  138. {
  139. get { return validflag; }
  140. set { validflag = value; }
  141. }
  142. /// <summary>
  143. /// 创建人
  144. /// </summary>
  145. [Description("创建人")]
  146. [Nullable(true)]
  147. [DataLength(10)]
  148. public string CreateUser
  149. {
  150. get { return createUser; }
  151. set { createUser = value; }
  152. }
  153. /// <summary>
  154. /// 创建时间
  155. /// </summary>
  156. [Description("创建时间")]
  157. [Nullable(true)]
  158. public string CreateDate
  159. {
  160. get { return createDate; }
  161. set { createDate = value; }
  162. }
  163. public override string ToString()
  164. {
  165. return base.ToString();
  166. }
  167. }
  168. }