| 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; | 
| } |