1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DemoEasyPoiExcelVO {
// @Excel(name = "开始时间",width = 15.0,importFormat = "HH:mm",exportFormat = "HH:mm")
// 隐藏主键列
@Excel(name = "id", width = 20.0, isColumnHidden = true)
private Long id;
@Excel(name = "序号", width = 20.0)
private Integer number;
@Excel(name = "开始日", format = "yyyy-MM-dd", width = 20.0)
private LocalDate startDate;
@Excel(name = "开始时间", format = "yyyy-MM-dd HH:mm:ss", width = 20.0)
private LocalDateTime startTime;
@Excel(name = "换电模式*", width = 20.0, replace = {"后背电池换电_0", "底盘电池换电_1", "_null"})
private String swapMode;
@Excel(name = "金额", numFormat = "0.00")
private BigDecimal amount;
}
|