|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.win.module.wms.controller.accountcalendar.vo; |
|
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty; |
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|
|
|
import com.win.framework.excel.core.annotations.DictFormat; |
|
|
|
import com.win.framework.excel.core.convert.DictConvert; |
|
|
|
import lombok.Data; |
|
|
@ -26,28 +27,35 @@ public class AccountcalendarExcelVO { |
|
|
|
private String descriiption; |
|
|
|
|
|
|
|
@ExcelProperty("开始时间") |
|
|
|
@ColumnWidth(value = 16) |
|
|
|
private LocalDateTime beginTime; |
|
|
|
|
|
|
|
@ExcelProperty("结束时间") |
|
|
|
@ColumnWidth(value = 16) |
|
|
|
private LocalDateTime endTime; |
|
|
|
|
|
|
|
@ExcelProperty("转换生效时间") |
|
|
|
@ColumnWidth(value = 16) |
|
|
|
private LocalDateTime converttotime; |
|
|
|
|
|
|
|
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|
|
|
@DictFormat("true_false") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
private Integer available; |
|
|
|
|
|
|
|
|
|
|
|
@ExcelProperty("生效时间") |
|
|
|
@ColumnWidth(value = 16) |
|
|
|
private LocalDateTime activeTime; |
|
|
|
|
|
|
|
@ExcelProperty("失效时间") |
|
|
|
@ColumnWidth(value = 16) |
|
|
|
private LocalDateTime expireTime; |
|
|
|
|
|
|
|
@ExcelProperty("备注") |
|
|
|
private String remark; |
|
|
|
|
|
|
|
@ExcelProperty("创建时间") |
|
|
|
@ColumnWidth(value = 16) |
|
|
|
private LocalDateTime createTime; |
|
|
|
|
|
|
|
@ExcelProperty("创建者ID") |
|
|
|