forked from sfms3.0/sfms3.0
7 changed files with 166 additions and 67 deletions
@ -0,0 +1,90 @@ |
|||||
|
package com.win.module.wms.controller.customer.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.Builder; |
||||
|
import lombok.Data; |
||||
|
import lombok.ToString; |
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
@Data |
||||
|
@Builder |
||||
|
@ToString(callSuper = true) |
||||
|
public class CustomerImportErrorVO { |
||||
|
@ExcelProperty("代码") |
||||
|
private String code; |
||||
|
|
||||
|
@ExcelProperty("名称") |
||||
|
private String name; |
||||
|
|
||||
|
@ExcelProperty("简称") |
||||
|
private String shortName; |
||||
|
|
||||
|
@ExcelProperty("地址") |
||||
|
private String address; |
||||
|
|
||||
|
@ExcelProperty("国家") |
||||
|
private String country; |
||||
|
|
||||
|
@ExcelProperty("城市") |
||||
|
private String city; |
||||
|
|
||||
|
@ExcelProperty("电话") |
||||
|
private String phone; |
||||
|
|
||||
|
@ExcelProperty("传真") |
||||
|
private String fax; |
||||
|
|
||||
|
@ExcelProperty("邮编") |
||||
|
private String postId; |
||||
|
|
||||
|
@ExcelProperty("联系人") |
||||
|
private String contacts; |
||||
|
|
||||
|
@ExcelProperty("银行") |
||||
|
private String bank; |
||||
|
|
||||
|
@ExcelProperty(value = "币种", converter = DictConvert.class) |
||||
|
@DictFormat("currency") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
||||
|
private String currency; |
||||
|
|
||||
|
@ExcelProperty("税率") |
||||
|
private BigDecimal taxRate; |
||||
|
|
||||
|
@ExcelProperty(value = "类型", converter = DictConvert.class) |
||||
|
@DictFormat("customer_type") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
||||
|
private String type; |
||||
|
|
||||
|
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
||||
|
@DictFormat("true_false") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
||||
|
private String 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") |
||||
|
private String creator; |
||||
|
|
||||
|
@ExcelProperty(value = "导入状态", index = 0) |
||||
|
private String importStatus; |
||||
|
|
||||
|
@ExcelProperty(value = "导入说明", index = 1) |
||||
|
private String importRemark; |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue