package com.ruoyi.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.time.LocalDateTime; /** *
* 证件、荣誉、资质表 *
* * @author ojq * @since 2023-03-14 */ @TableName("z_honor") public class ZHonor implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 本人id */ private Integer userId; /** * 类别,0:证件、1:荣誉、2:资质 */ private Integer type; /** * 名称 */ private String name; /** * 证号/专业 */ private String idNo; /** * 级别 */ private String grade; /** * 有效期 */ private LocalDateTime validityDate; /** * 获得时间 */ private LocalDateTime getDate; /** * 存放位置 */ private String location; /** * 备注 */ private String remark; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getIdNo() { return idNo; } public void setIdNo(String idNo) { this.idNo = idNo; } public String getGrade() { return grade; } public void setGrade(String grade) { this.grade = grade; } public LocalDateTime getValidityDate() { return validityDate; } public void setValidityDate(LocalDateTime validityDate) { this.validityDate = validityDate; } public LocalDateTime getGetDate() { return getDate; } public void setGetDate(LocalDateTime getDate) { this.getDate = getDate; } public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } @Override public String toString() { return "ZHonor{" + "id=" + id + ", userId=" + userId + ", type=" + type + ", name=" + name + ", idNo=" + idNo + ", grade=" + grade + ", validityDate=" + validityDate + ", getDate=" + getDate + ", location=" + location + ", remark=" + remark + "}"; } }