| | |
| | | |
| | | import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | @ExcelProperty("是否启用") |
| | | private Integer enabled; |
| | | |
| | | @Schema(description = "数据值", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
| | | @ExcelProperty("数据值") |
| | | private Double dataValue; |
| | | |
| | | @Schema(description = "大小端", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
| | | @ExcelProperty("大小端") |
| | | private String format; |
| | |
| | | @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
| | | @ExcelProperty("更新时间") |
| | | private Date updateTime; |
| | | |
| | | @Schema(description = "数据质量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
| | | @ExcelProperty("数据质量") |
| | | private String dataQuality; |
| | | |
| | | @Schema(description = "数据时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
| | | @ExcelProperty("数据时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date dataTime; |
| | | } |