forked from kidgrow-microservices-platform

er
2020-04-03 907468134f79000ebe9ed16c5dfc536718ddf1db
数据需求  添加 导出功能
1 files added
64 ■■■■■ changed files
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-api/src/main/java/com/kidgrow/oprationcenter/vo/DataNeedExcel.java 64 ●●●●● patch | view | raw | blame | history
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-api/src/main/java/com/kidgrow/oprationcenter/vo/DataNeedExcel.java
New file
@@ -0,0 +1,64 @@
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<br>
 *
 * @Description: 数据需求导出<br>
 * @Project: <br>
 * @CreateDate: Created in 2020/2/13 15:36 <br>
 * @Author: <a href="4345453@kidgrow.com">liuke</a>
 */
@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;
}