| | |
| | | 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.ycl.platform.domain.vo.DynamicColumnVO; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 点位导入导出 |
| | |
| | | */ |
| | | @Data |
| | | public class PointExport { |
| | | |
| | | private Integer id; |
| | | @ColumnWidth(50) |
| | | @ExcelProperty("点位名称") |
| | | @ExcelProperty("点位名称(可修改)") |
| | | private String pointName; |
| | | |
| | | @ColumnWidth(30) |
| | | @ExcelProperty("国标码") |
| | | @ExcelProperty("国标码(不可修改)") |
| | | private String serialNumber; |
| | | |
| | | @ColumnWidth(16) |
| | | @ExcelProperty("点位IP") |
| | | @ColumnWidth(30) |
| | | @ExcelProperty("点位IP(可修改)") |
| | | private String pointIP; |
| | | |
| | | @ColumnWidth(40) |
| | | @ExcelProperty("当前运维单位") |
| | | @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; |
| | | |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("是否重点指挥图像(可修改)") |
| | | private String importantCommandImageTagString; |
| | | |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("是否部级标签(可修改)") |
| | | private String deptTagString; |
| | | |
| | | @ExcelIgnore |
| | | private Boolean deptTag; |
| | | @ExcelIgnore |
| | | private Boolean importantTag; |
| | | |
| | | @ExcelProperty("是否重点点位") |
| | | private String importantTagString; |
| | | |
| | | @ExcelIgnore |
| | | private Boolean importantCommandImageTag; |
| | | |
| | | private List<DynamicColumnVO> dynamicData; |
| | | } |