mitao
2 天以前 f769d817f8ba2522147c73fa93ccacdc3aab0cb6
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
package com.ruoyi.system.export;
 
import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.time.LocalDate;
 
@Data
@ApiModel(value = "厕所维保记录导出excel")
public class CleanToiletMaintenanceExport {
    @Excel(name = "序号", width = 10)
    private Integer number;
 
    @Excel(name = "记录日期", width = 15)
    private String recordDate;
 
    @Excel(name = "维护人员", width = 15)
    private String maintainer;
 
    @Excel(name = "维护时间", width = 15)
    private String maintenanceTime;
 
    // 关键:将图片字段标记为图片类型
    @Excel(name = "维护图片", width = 30, type = 2, imageType = 1)
    private String maintenanceImages;
 
    @Excel(name = "备注", width = 30)
    private String remarks;
}