| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | 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 com.ruoyi.common.core.domain.BaseEntity; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_year_info") |
| | | @Data |
| | | public class ZYearInfo implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | private Long id; |
| | | |
| | | /** |
| | | * 年度健康表id |
| | | */ |
| | | private Integer hid; |
| | | private Long uid; |
| | | |
| | | /** |
| | | * 体检时间 |
| | | */ |
| | | private LocalDateTime checkTime; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "体检时间") |
| | | private Date checkTime; |
| | | |
| | | @TableField(exist = false) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date happenStartTime; |
| | | |
| | | @TableField(exist = false) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date happenEndTime; |
| | | |
| | | /** |
| | | * 看病:0、体检:1 |
| | | * 类型 |
| | | */ |
| | | private Integer type; |
| | | @Excel(name = "类型") |
| | | private String type; |
| | | |
| | | /** |
| | | * 就诊医院 |
| | | */ |
| | | @Excel(name = "就诊医院") |
| | | private String hospital; |
| | | |
| | | /** |
| | | * 题名 |
| | | */ |
| | | @Excel(name = "题名") |
| | | private String title; |
| | | |
| | | /** |
| | | * 注意事项 |
| | | */ |
| | | @Excel(name = "注意事项") |
| | | private String notice; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @Excel(name = "备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createTime; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | private String url; |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getHid() { |
| | | return hid; |
| | | } |
| | | |
| | | public void setHid(Integer hid) { |
| | | this.hid = hid; |
| | | } |
| | | |
| | | public LocalDateTime getCheckTime() { |
| | | return checkTime; |
| | | } |
| | | |
| | | public void setCheckTime(LocalDateTime checkTime) { |
| | | this.checkTime = checkTime; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getHospital() { |
| | | return hospital; |
| | | } |
| | | |
| | | public void setHospital(String hospital) { |
| | | this.hospital = hospital; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getNotice() { |
| | | return notice; |
| | | } |
| | | |
| | | public void setNotice(String notice) { |
| | | this.notice = notice; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZYearInfo{" + |
| | | "id=" + id + |
| | | ", hid=" + hid + |
| | | ", checkTime=" + checkTime + |
| | | ", type=" + type + |
| | | ", hospital=" + hospital + |
| | | ", title=" + title + |
| | | ", notice=" + notice + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |