123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- package com.ruoyi.system.domain;
- import java.util.Date;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import com.ruoyi.common.annotation.Excel;
- import com.ruoyi.common.core.domain.BaseEntity;
- /**
- * A类对象 grad_table
- *
- * @author ruoyi
- * @date 2022-11-25
- */
- public class GradTable extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /** 姓名 */
- @Excel(name = "姓名",type = Excel.Type.ALL)
- private String uesrName;
- /** 身份证 */
- @Excel(name = "身份证",type = Excel.Type.ALL)
- private String userId;
- /** 证书编号 */
- @Excel(name = "证书编号",type = Excel.Type.ALL)
- private String certId;
- /** 发证时间 */
- @JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "发证时间", width = 30, dateFormat = "yyyy-MM-dd",type = Excel.Type.ALL)
- private Date issueDate;
- /** 培训名称 */
- @Excel(name = "培训名称",type = Excel.Type.ALL)
- private String certName;
- /** 课程名称 */
- @Excel(name = "课程名称",type = Excel.Type.ALL)
- private String courseName;
- /** 学时数 */
- @Excel(name = "学时数",type = Excel.Type.ALL)
- private String courseHours;
- /** 等级 */
- @Excel(name = "等级",type = Excel.Type.ALL)
- private String level;
- /** 培训起始时间 */
- @JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "培训起始时间", width = 30, dateFormat = "yyyy-MM-dd",type = Excel.Type.ALL)
- private Date startDate;
- /** 培训截止时间 */
- @JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "培训截止时间", width = 30, dateFormat = "yyyy-MM-dd",type = Excel.Type.ALL)
- private Date endDate;
- /** 照片 */
- @Excel(name = "照片",type = Excel.Type.ALL)
- private String picture;
- /** 手机号码 */
- @Excel(name = "手机号码",type = Excel.Type.ALL)
- private String userPhone;
- /** 邮箱 */
- @Excel(name = "邮箱",type = Excel.Type.ALL)
- private String userEmail;
- /** 导入系统的时间戳 */
- private Date updateDate;
- /** 自增id */
- private Long id;
- /** 证书类型 */
- @Excel(name = "证书类型", readConverterExp = "0=专业能力证书,1=培训结业证书,2=学时证明",type = Excel.Type.ALL)
- private Long certType;
- public void setUesrName(String uesrName)
- {
- this.uesrName = uesrName;
- }
- public String getUesrName()
- {
- return uesrName;
- }
- public void setUserId(String userId)
- {
- this.userId = userId;
- }
- public String getUserId()
- {
- return userId;
- }
- public void setCertId(String certId)
- {
- this.certId = certId;
- }
- public String getCertId()
- {
- return certId;
- }
- public void setIssueDate(Date issueDate)
- {
- this.issueDate = issueDate;
- }
- public Date getIssueDate()
- {
- return issueDate;
- }
- public void setCertName(String certName)
- {
- this.certName = certName;
- }
- public String getCertName()
- {
- return certName;
- }
- public void setCourseName(String courseName)
- {
- this.courseName = courseName;
- }
- public String getCourseName()
- {
- return courseName;
- }
- public void setCourseHours(String courseHours)
- {
- this.courseHours = courseHours;
- }
- public String getCourseHours()
- {
- return courseHours;
- }
- public void setLevel(String level)
- {
- this.level = level;
- }
- public String getLevel()
- {
- return level;
- }
- public void setStartDate(Date startDate)
- {
- this.startDate = startDate;
- }
- public Date getStartDate()
- {
- return startDate;
- }
- public void setEndDate(Date endDate)
- {
- this.endDate = endDate;
- }
- public Date getEndDate()
- {
- return endDate;
- }
- public void setPicture(String picture)
- {
- this.picture = picture;
- }
- public String getPicture()
- {
- return picture;
- }
- public void setUserPhone(String userPhone)
- {
- this.userPhone = userPhone;
- }
- public String getUserPhone()
- {
- return userPhone;
- }
- public void setUserEmail(String userEmail)
- {
- this.userEmail = userEmail;
- }
- public String getUserEmail()
- {
- return userEmail;
- }
- public void setUpdateDate(Date updateDate)
- {
- this.updateDate = updateDate;
- }
- public Date getUpdateDate()
- {
- return updateDate;
- }
- public void setId(Long id)
- {
- this.id = id;
- }
- public Long getId()
- {
- return id;
- }
- public void setCertType(Long certType)
- {
- this.certType = certType;
- }
- public Long getCertType()
- {
- return certType;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("uesrName", getUesrName())
- .append("userId", getUserId())
- .append("certId", getCertId())
- .append("issueDate", getIssueDate())
- .append("certName", getCertName())
- .append("courseName", getCourseName())
- .append("courseHours", getCourseHours())
- .append("level", getLevel())
- .append("startDate", getStartDate())
- .append("endDate", getEndDate())
- .append("picture", getPicture())
- .append("userPhone", getUserPhone())
- .append("userEmail", getUserEmail())
- .append("updateDate", getUpdateDate())
- .append("id", getId())
- .append("certType", getCertType())
- .toString();
- }
- }
|