mitao
2024-04-19 b21c37b7899b17dede7773db3c799aab1063ae1c
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
package com.finance.system.export;
 
import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
 
@Data
@ApiModel(value = "光缆巡检导出excel")
public class OpticalInspectionExport implements Serializable {
 
    @Excel(name = "工单号",width = 20)
    private Integer id;
 
    @Excel(name = "工单名称",width = 30)
    private String inspectionName;
 
    @Excel(name = "开始时间",width = 30,exportFormat = "yyyy-MM-dd HH:mm")
    private Date startTime;
 
    @Excel(name = "截止时间",width = 30,exportFormat = "yyyy-MM-dd HH:mm")
    private Date endTime;
 
    @Excel(name = "计划周期",width = 30,replace = {"周计划_1","月计划_2"})
    private Integer planCycle;
 
    @Excel(name = "路线",width = 30)
    private String address;
 
    @Excel(name = "巡检点位",width = 30)
    private Integer inspectionCount;
 
    @Excel(name = "提交人",width = 30)
    private String createBy;
 
    @Excel(name = "巡检状态",width = 30,replace = {"待巡检_1","未完成_2","已完成_3"})
    private Integer state;
 
}