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
65
| package cn.stylefeng.guns.excel.model.result;
|
| import lombok.Data;
|
| import java.io.Serializable;
|
| /**
| * <p>
| * excel导出配置
| * </p>
| *
| * @author York
| * @since 2019-11-26
| */
| @Data
| public class ExcelExportDeployResult implements Serializable {
|
| private static final long serialVersionUID = 1L;
|
| private Integer id;
|
| /**
| * excel导出配置名称
| */
| private String name;
|
| /**
| * 文件名称
| */
| private String title;
|
| /**
| * 唯一标识
| */
| private String nid;
|
| /**
| * 模版路径
| */
| private String template;
|
| /**
| * 数据源
| */
| private String dataSource;
|
| /**
| * 0开启1关闭
| */
| private Integer status;
|
| public String getStatusName() {
| if (status == null) {
| return null;
| }
| switch (status) {
| case 0:
| return "开启";
| case 1:
| return "关闭";
| default:
| return "未定义";
| }
| }
| }
|
|