|
|
@ -2,10 +2,13 @@ package com.epmet.excel; |
|
|
|
|
|
|
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
|
|
|
import com.alibaba.excel.annotation.ExcelProperty; |
|
|
|
import com.alibaba.excel.annotation.format.DateTimeFormat; |
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import com.alibaba.excel.annotation.write.style.HeadStyle; |
|
|
|
import com.alibaba.excel.enums.poi.FillPatternTypeEnum; |
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
import java.io.Serializable; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
/** |
|
|
@ -14,11 +17,14 @@ import java.util.Date; |
|
|
|
* @author generator generator@elink-cn.com |
|
|
|
* @since v1.0.0 2022-05-09 |
|
|
|
*/ |
|
|
|
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 44) |
|
|
|
@Data |
|
|
|
public class IcMoveInRecordExcel { |
|
|
|
public class IcMoveInRecordExcel implements Serializable { |
|
|
|
|
|
|
|
private static final long serialVersionUID = -12110233388005838L; |
|
|
|
@ExcelProperty(value = "姓名") |
|
|
|
@Excel(name = "姓名") |
|
|
|
@ColumnWidth(20) |
|
|
|
private String name; |
|
|
|
|
|
|
|
@ExcelProperty(value = "所属网格") |
|
|
@ -32,11 +38,11 @@ public class IcMoveInRecordExcel { |
|
|
|
private String allName; |
|
|
|
|
|
|
|
@ExcelProperty(value = "手机号") |
|
|
|
@Excel(name = "手机号") |
|
|
|
@ColumnWidth(20) |
|
|
|
private String mobile; |
|
|
|
|
|
|
|
@ExcelProperty(value = "身份证号") |
|
|
|
@ColumnWidth(20) |
|
|
|
@ColumnWidth(25) |
|
|
|
@Excel(name = "身份证号") |
|
|
|
private String idCard; |
|
|
|
|
|
|
@ -51,7 +57,7 @@ public class IcMoveInRecordExcel { |
|
|
|
@ExcelProperty(value = "迁入时间") |
|
|
|
@ColumnWidth(20) |
|
|
|
@Excel(name = "迁入时间") |
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|
|
|
@DateTimeFormat("yyyy-MM-dd") |
|
|
|
private Date inTime; |
|
|
|
|
|
|
|
@ExcelProperty(value = "迁入原因") |
|
|
@ -80,4 +86,4 @@ public class IcMoveInRecordExcel { |
|
|
|
private String householderRelationName; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|