package com.ycl.platform.domain.excel; import com.alibaba.excel.annotation.ExcelIgnore; import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.format.DateTimeFormat; import com.alibaba.excel.annotation.write.style.ColumnWidth; import com.alibaba.excel.annotation.write.style.ContentStyle; import lombok.Data; import java.util.Date; /** * 点位导入导出 * * @author:xp * @date:2024/8/6 11:38 */ @Data public class PointExport { @ColumnWidth(50) @ExcelProperty("点位名称(可修改)") private String pointName; @ColumnWidth(30) @ExcelProperty("国标码(不可修改)") private String serialNumber; @ColumnWidth(30) @ExcelProperty("点位IP(可修改)") private String pointIP; @ColumnWidth(40) @ExcelProperty("当前运维单位(导入界面可改)") private String unitName; @ColumnWidth(40) @DateTimeFormat("yyyy-MM-dd") @ExcelProperty("运维开始时间") private Date startTime; @ColumnWidth(40) @DateTimeFormat("yyyy-MM-dd") @ExcelProperty("运维结束时间") private Date endTime; @ExcelIgnore private Boolean provinceTag; @ColumnWidth(20) @ExcelProperty("是否省厅标签(可修改)") private String provinceTagString; @ExcelIgnore private Boolean importantTag; // @ExcelProperty("是否重点点位") // private String importantTagString; @ExcelIgnore private Boolean importantCommandImageTag; @ColumnWidth(20) @ExcelProperty("是否重点指挥图像(可修改)") private String importantCommandImageTagString; }