GradTable.java 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. package com.ruoyi.system.domain;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import com.ruoyi.common.annotation.Excel;
  7. import com.ruoyi.common.core.domain.BaseEntity;
  8. /**
  9. * A类对象 grad_table
  10. *
  11. * @author ruoyi
  12. * @date 2022-11-25
  13. */
  14. public class GradTable extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** 姓名 */
  18. @Excel(name = "姓名",type = Excel.Type.ALL)
  19. private String uesrName;
  20. /** 身份证 */
  21. @Excel(name = "身份证",type = Excel.Type.ALL)
  22. private String userId;
  23. /** 证书编号 */
  24. @Excel(name = "证书编号",type = Excel.Type.ALL)
  25. private String certId;
  26. /** 发证时间 */
  27. @JsonFormat(pattern = "yyyy-MM-dd")
  28. @Excel(name = "发证时间", width = 30, dateFormat = "yyyy-MM-dd",type = Excel.Type.ALL)
  29. private Date issueDate;
  30. /** 培训名称 */
  31. @Excel(name = "培训名称",type = Excel.Type.ALL)
  32. private String certName;
  33. /** 课程名称 */
  34. @Excel(name = "课程名称",type = Excel.Type.ALL)
  35. private String courseName;
  36. /** 学时数 */
  37. @Excel(name = "学时数",type = Excel.Type.ALL)
  38. private String courseHours;
  39. /** 等级 */
  40. @Excel(name = "等级",type = Excel.Type.ALL)
  41. private String level;
  42. /** 培训起始时间 */
  43. @JsonFormat(pattern = "yyyy-MM-dd")
  44. @Excel(name = "培训起始时间", width = 30, dateFormat = "yyyy-MM-dd",type = Excel.Type.ALL)
  45. private Date startDate;
  46. /** 培训截止时间 */
  47. @JsonFormat(pattern = "yyyy-MM-dd")
  48. @Excel(name = "培训截止时间", width = 30, dateFormat = "yyyy-MM-dd",type = Excel.Type.ALL)
  49. private Date endDate;
  50. /** 照片 */
  51. @Excel(name = "照片",type = Excel.Type.ALL)
  52. private String picture;
  53. /** 手机号码 */
  54. @Excel(name = "手机号码",type = Excel.Type.ALL)
  55. private String userPhone;
  56. /** 邮箱 */
  57. @Excel(name = "邮箱",type = Excel.Type.ALL)
  58. private String userEmail;
  59. /** 导入系统的时间戳 */
  60. private Date updateDate;
  61. /** 自增id */
  62. private Long id;
  63. /** 证书类型 */
  64. @Excel(name = "证书类型", readConverterExp = "0=专业能力证书,1=培训结业证书,2=学时证明",type = Excel.Type.ALL)
  65. private Long certType;
  66. public void setUesrName(String uesrName)
  67. {
  68. this.uesrName = uesrName;
  69. }
  70. public String getUesrName()
  71. {
  72. return uesrName;
  73. }
  74. public void setUserId(String userId)
  75. {
  76. this.userId = userId;
  77. }
  78. public String getUserId()
  79. {
  80. return userId;
  81. }
  82. public void setCertId(String certId)
  83. {
  84. this.certId = certId;
  85. }
  86. public String getCertId()
  87. {
  88. return certId;
  89. }
  90. public void setIssueDate(Date issueDate)
  91. {
  92. this.issueDate = issueDate;
  93. }
  94. public Date getIssueDate()
  95. {
  96. return issueDate;
  97. }
  98. public void setCertName(String certName)
  99. {
  100. this.certName = certName;
  101. }
  102. public String getCertName()
  103. {
  104. return certName;
  105. }
  106. public void setCourseName(String courseName)
  107. {
  108. this.courseName = courseName;
  109. }
  110. public String getCourseName()
  111. {
  112. return courseName;
  113. }
  114. public void setCourseHours(String courseHours)
  115. {
  116. this.courseHours = courseHours;
  117. }
  118. public String getCourseHours()
  119. {
  120. return courseHours;
  121. }
  122. public void setLevel(String level)
  123. {
  124. this.level = level;
  125. }
  126. public String getLevel()
  127. {
  128. return level;
  129. }
  130. public void setStartDate(Date startDate)
  131. {
  132. this.startDate = startDate;
  133. }
  134. public Date getStartDate()
  135. {
  136. return startDate;
  137. }
  138. public void setEndDate(Date endDate)
  139. {
  140. this.endDate = endDate;
  141. }
  142. public Date getEndDate()
  143. {
  144. return endDate;
  145. }
  146. public void setPicture(String picture)
  147. {
  148. this.picture = picture;
  149. }
  150. public String getPicture()
  151. {
  152. return picture;
  153. }
  154. public void setUserPhone(String userPhone)
  155. {
  156. this.userPhone = userPhone;
  157. }
  158. public String getUserPhone()
  159. {
  160. return userPhone;
  161. }
  162. public void setUserEmail(String userEmail)
  163. {
  164. this.userEmail = userEmail;
  165. }
  166. public String getUserEmail()
  167. {
  168. return userEmail;
  169. }
  170. public void setUpdateDate(Date updateDate)
  171. {
  172. this.updateDate = updateDate;
  173. }
  174. public Date getUpdateDate()
  175. {
  176. return updateDate;
  177. }
  178. public void setId(Long id)
  179. {
  180. this.id = id;
  181. }
  182. public Long getId()
  183. {
  184. return id;
  185. }
  186. public void setCertType(Long certType)
  187. {
  188. this.certType = certType;
  189. }
  190. public Long getCertType()
  191. {
  192. return certType;
  193. }
  194. @Override
  195. public String toString() {
  196. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  197. .append("uesrName", getUesrName())
  198. .append("userId", getUserId())
  199. .append("certId", getCertId())
  200. .append("issueDate", getIssueDate())
  201. .append("certName", getCertName())
  202. .append("courseName", getCourseName())
  203. .append("courseHours", getCourseHours())
  204. .append("level", getLevel())
  205. .append("startDate", getStartDate())
  206. .append("endDate", getEndDate())
  207. .append("picture", getPicture())
  208. .append("userPhone", getUserPhone())
  209. .append("userEmail", getUserEmail())
  210. .append("updateDate", getUpdateDate())
  211. .append("id", getId())
  212. .append("certType", getCertType())
  213. .toString();
  214. }
  215. }