forked from kidgrow-microservices-platform

zhaoxiaohao
2020-11-25 f6d390988b1c9b5695338214e95ff0d6da70b300
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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;
}