package com.kidgrow.oprationcenter.vo; import cn.afterturn.easypoi.excel.annotation.Excel; import com.kidgrow.common.constant.CommonConstant; import lombok.Data; import org.hibernate.validator.constraints.NotBlank; import java.io.Serializable; import java.util.Date; /** * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020
* * @Description: 数据需求导出
* @Project:
* @CreateDate: Created in 2020/2/13 15:36
* @Author: liuke */ @Data public class DataNeedExcel implements Serializable { private static final long serialVersionUID = -5886012896705137070L; @Excel(name = "需求类型", height = 20,replace = { "就诊_0", "筛查_1" }, width = 30, isImportField = "true_st") private Integer needType; @Excel(name = "需求类型", height = 20, width = 30, isImportField = "true_st") private Long doctorId; @Excel(name = "医生姓名", height = 20, width = 30, isImportField = "true_st") private String doctorName; @Excel(name = "医院名称", height = 20, width = 30, isImportField = "true_st") private String hospitalName; @Excel(name = "科室名称", isImportField = "true_st" , width = 20) private Integer departmentName; @Excel(name = "医生联系方式", isImportField = "true_st" , width = 20) private String doctorTel; @Excel(name = "需求数据的开始时间不能为空", format = CommonConstant.DATETIME_FORMAT, isImportField = "true_st", width = 20) private Date needBegintime; @Excel(name = "需求数据的结束时间不能为空", format = CommonConstant.DATETIME_FORMAT, isImportField = "true_st", width = 20) private Date needEndtime; @Excel(name = "需求标签", isImportField = "true_st" , width = 20) private String needTags; /** * 是否删除,1删除(已下载),0未删除(未下载) */ @Excel(name = "是否删除", isImportField = "true_st" ,replace = { "删除_true", "未删除_false" }, width = 20) private Boolean isDel; @Excel(name = "文件路径", isImportField = "true_st" , width = 20) private String dataFile; @Excel(name = "下载时间", format = CommonConstant.DATETIME_FORMAT, isImportField = "true_st", width = 20) private Date downTime; @Excel(name = "需求类型", height = 20,replace = { "已上传_true", "未处理_false" }, width = 30, isImportField = "true_st") private Boolean enabled; }