| | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import lombok.Data; |
| | | import org.hibernate.validator.constraints.EAN; |
| | | |
| | | import javax.print.attribute.standard.MediaSize; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_honor") |
| | | @Data |
| | | public class ZHonor implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | private Long id; |
| | | |
| | | /** |
| | | * 本人id |
| | | */ |
| | | private Integer userId; |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 类别,0:证件、1:荣誉、2:资质 |
| | | */ |
| | | private Integer type; |
| | | @Excel(name = "类别") |
| | | private String type; |
| | | |
| | | /** |
| | | * 名称 |
| | | */ |
| | | @Excel(name = "名称") |
| | | private String name; |
| | | |
| | | /** |
| | | * 证号/专业 |
| | | */ |
| | | @Excel(name = "证号/专业") |
| | | private String idNo; |
| | | |
| | | /** |
| | | * 级别 |
| | | */ |
| | | @Excel(name = "级别") |
| | | private String grade; |
| | | |
| | | /** |
| | | * 有效期 |
| | | */ |
| | | private LocalDateTime validityDate; |
| | | @Excel(name = "有效期", dateFormat = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | private Date validityDate; |
| | | |
| | | /** |
| | | * 获得时间 |
| | | */ |
| | | private LocalDateTime getDate; |
| | | @Excel(name = "获得时间", dateFormat = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | private Date getDate; |
| | | |
| | | /** |
| | | * 存放位置 |
| | | */ |
| | | @Excel(name = "存放位置") |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @Excel(name = "备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | /** |
| | | * 电子文件路径 |
| | | */ |
| | | private String url; |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | /** |
| | | * 分享人 |
| | | */ |
| | | private Integer shareId; |
| | | |
| | | 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 + |
| | | "}"; |
| | | } |
| | | } |