forked from rongchao/epmet-cloud-rizhao
4 changed files with 154 additions and 27 deletions
@ -0,0 +1,123 @@ |
|||
package com.epmet.excel; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.alibaba.excel.annotation.write.style.HeadStyle; |
|||
import com.alibaba.excel.enums.poi.FillPatternTypeEnum; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
/** |
|||
* 行程上报信息 |
|||
* |
|||
*/ |
|||
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 44) |
|||
@Data |
|||
public class IcTripReportRecordExportExcel implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
|
|||
/** |
|||
* 姓名 |
|||
*/ |
|||
@ColumnWidth(15) |
|||
@ExcelProperty(value = "姓名", order = 1) |
|||
private String name; |
|||
|
|||
/** |
|||
* 证件号 |
|||
*/ |
|||
@ColumnWidth(20) |
|||
@ExcelProperty(value = "证件号",order = 2) |
|||
private String idCard; |
|||
|
|||
/** |
|||
* 手机号 |
|||
*/ |
|||
@ColumnWidth(15) |
|||
@ExcelProperty(value = "手机号",order = 3) |
|||
private String mobile; |
|||
|
|||
/** |
|||
* 现居地名称eg:山东省青岛市黄岛区玫瑰山路社区 |
|||
*/ |
|||
@ColumnWidth(30) |
|||
@ExcelProperty(value = "现居地",order = 4) |
|||
private String presentAddress; |
|||
|
|||
/** |
|||
* 详细地址 |
|||
*/ |
|||
@ColumnWidth(30) |
|||
@ExcelProperty(value = "现居地详细地址",order = 5) |
|||
private String detailAddress; |
|||
|
|||
/** |
|||
* 来源地区地址 |
|||
*/ |
|||
@ColumnWidth(30) |
|||
@ExcelProperty(value = "来自地区",order = 6) |
|||
private String sourceAddress; |
|||
|
|||
/** |
|||
* 来自地区详细地址 source_address字段的说明 |
|||
*/ |
|||
@ColumnWidth(30) |
|||
@ExcelProperty(value = "来自地区详细地址",order = 7) |
|||
private String sourceDetailAddress; |
|||
|
|||
/** |
|||
* 到达日期 |
|||
*/ |
|||
@ColumnWidth(20) |
|||
@ExcelProperty(value = "来到本地时间",order = 8) |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
private String arriveDate; |
|||
|
|||
/** |
|||
* 交通方式-中国字 |
|||
*/ |
|||
@ColumnWidth(15) |
|||
@ExcelProperty(value = "返回方式",order = 9) |
|||
private String trafficTypeName; |
|||
/** |
|||
* 其他返回方式,交通方式为其他时此列需要有值 |
|||
*/ |
|||
@ColumnWidth(20) |
|||
@ExcelProperty(value = "其他返回方式",order = 10) |
|||
private String trafficTypeExplain; |
|||
|
|||
/** |
|||
* 是否有48小时核算记录 0:否 1:是 【小寨子】-中国字 |
|||
*/ |
|||
@ColumnWidth(20) |
|||
@ExcelProperty(value = "48小时核酸检测",order = 11) |
|||
private String isNatRecordName; |
|||
|
|||
/** |
|||
* 疫苗接种针次 -中国字(0针 1针 2针 3针) |
|||
*/ |
|||
@ColumnWidth(20) |
|||
@ExcelProperty(value = "疫苗接种针次",order = 12) |
|||
private String vaccineNumName; |
|||
|
|||
/** |
|||
* 离开日期 |
|||
*/ |
|||
@ColumnWidth(20) |
|||
@ExcelProperty(value = "离开本地时间",order = 13) |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
private String leaveDate; |
|||
|
|||
/** |
|||
* 备注信息 |
|||
*/ |
|||
@ColumnWidth(40) |
|||
@ExcelProperty(value = "备注",order = 14) |
|||
private String remark; |
|||
} |
Loading…
Reference in new issue