|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.epmet.excel; |
|
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty; |
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
@ -22,13 +23,16 @@ public class IcDangerAreaImportExcel { |
|
|
|
|
|
|
|
@Data |
|
|
|
public static class IcDangerAreaError{ |
|
|
|
@ExcelProperty("风险地区") |
|
|
|
@ColumnWidth(30) |
|
|
|
@ExcelProperty(value = "风险地区") |
|
|
|
private String name; |
|
|
|
|
|
|
|
@ExcelProperty("风险等级") |
|
|
|
@ColumnWidth(20) |
|
|
|
@ExcelProperty(value = "风险等级") |
|
|
|
private String dangerLevel; |
|
|
|
|
|
|
|
@ExcelProperty("错误信息") |
|
|
|
@ColumnWidth(40) |
|
|
|
@ExcelProperty(value = "错误信息") |
|
|
|
private String errorInfo; |
|
|
|
} |
|
|
|
} |
|
|
|