forked from rongchao/epmet-cloud-rizhao
3 changed files with 178 additions and 19 deletions
@ -0,0 +1,157 @@ |
|||||
|
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 IcPsTripReportRecordExportExcel implements Serializable { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 姓名 |
||||
|
*/ |
||||
|
@ColumnWidth(15) |
||||
|
@ExcelProperty(value = "姓名", order = 1) |
||||
|
private String name; |
||||
|
/** |
||||
|
* 年龄【磐石】 |
||||
|
*/ |
||||
|
@ColumnWidth(15) |
||||
|
@ExcelProperty(value = "年龄",order = 2) |
||||
|
private int age; |
||||
|
/** |
||||
|
* 证件号 |
||||
|
*/ |
||||
|
@ColumnWidth(20) |
||||
|
@ExcelProperty(value = "证件号",order = 3) |
||||
|
private String idCard; |
||||
|
/** |
||||
|
* 户籍地 【磐石】 |
||||
|
*/ |
||||
|
@ColumnWidth(40) |
||||
|
@ExcelProperty(value = "户籍地(省市县区)",order = 4) |
||||
|
private String registeredResidence; |
||||
|
/** |
||||
|
* 手机号 |
||||
|
*/ |
||||
|
@ColumnWidth(25) |
||||
|
@ExcelProperty(value = "手机号",order = 5) |
||||
|
private String mobile; |
||||
|
/** |
||||
|
* 来自地区(格式:省-市-区-街道-社区) |
||||
|
*/ |
||||
|
@ColumnWidth(40) |
||||
|
@ExcelProperty(value = "来自地区(格式:省-市-区-街道-社区)",order = 6) |
||||
|
private String sourceAddress; |
||||
|
/** |
||||
|
* 来自地区详细地址 source_address字段的说明 |
||||
|
*/ |
||||
|
@ColumnWidth(40) |
||||
|
@ExcelProperty(value = "来自地区详细地址",order = 7) |
||||
|
private String sourceDetailAddress; |
||||
|
/** |
||||
|
* 来曹事由(100字以内)【磐石】 |
||||
|
*/ |
||||
|
@ColumnWidth(40) |
||||
|
@ExcelProperty(value = "来曹事由(100字以内)",order = 8) |
||||
|
private String describe; |
||||
|
/** |
||||
|
* 48小时核酸检测 0:阴性 1:阳性 -中国字 |
||||
|
*/ |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelProperty(value = "48小时核酸检测",order = 9) |
||||
|
private String isNatRecordName; |
||||
|
/** |
||||
|
* 来到本地时间(2022-01-01) |
||||
|
*/ |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelProperty(value = "来到本地时间(2022-01-01)",order = 10) |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
|
private Date arriveDate; |
||||
|
/** |
||||
|
* 现居地 |
||||
|
*/ |
||||
|
@ColumnWidth(40) |
||||
|
@ExcelProperty(value = "现居地",order = 11) |
||||
|
private String presentAddress; |
||||
|
/** |
||||
|
* 现居地详细地址 |
||||
|
*/ |
||||
|
@ColumnWidth(40) |
||||
|
@ExcelProperty(value = "现居地详细地址",order = 12) |
||||
|
private String detailAddress; |
||||
|
/** |
||||
|
* 交通方式-中国字 |
||||
|
*/ |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelProperty(value = "返回方式",order = 13) |
||||
|
private String trafficTypeName; |
||||
|
/** |
||||
|
* 其他返回方式,交通方式为其他时此列需要有值 |
||||
|
*/ |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelProperty(value = "其他返回方式",order = 14) |
||||
|
private String trafficTypeExplain; |
||||
|
/** |
||||
|
* 7天内旅居史情况,字典表(sojourn_history)【磐石】-中国字 |
||||
|
*/ |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelProperty(value = "7天内旅居史情况",order = 15) |
||||
|
private String sojournHistoryName; |
||||
|
/** |
||||
|
* 隔离状态,字典表(isolate_type)【磐石】-中国字 |
||||
|
*/ |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelProperty(value = "隔离状态",order = 16) |
||||
|
private String isolateTypeName; |
||||
|
/** |
||||
|
* 备注(500字以内) |
||||
|
*/ |
||||
|
@ColumnWidth(50) |
||||
|
@ExcelProperty(value = "备注(500字以内)",order = 17) |
||||
|
private String remark; |
||||
|
/** |
||||
|
* 是否落实"落地检" 0:否 1:是【磐石】-中国字 |
||||
|
*/ |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelProperty(value = "是否落实“落地检”",order = 18) |
||||
|
private String isArriveCheckName; |
||||
|
/** |
||||
|
* 是否达到曹县 0:否 1:是【磐石】-中国字 |
||||
|
*/ |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelProperty(value = "是否达到曹县",order = 19) |
||||
|
private String isArriveName; |
||||
|
/** |
||||
|
* 上报时间(2022-01-01)【磐石】 |
||||
|
*/ |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelProperty(value = "上报时间(2022-01-01)",order = 20) |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
|
private Date reportingTime; |
||||
|
/** |
||||
|
* 管控措施(500字以内)【磐石】 |
||||
|
*/ |
||||
|
@ColumnWidth(35) |
||||
|
@ExcelProperty(value = "管控措施(500字以内)",order = 21) |
||||
|
private String controlMeasures; |
||||
|
/** |
||||
|
* 类型(省内、省外、市内、县内),字典表(trip_data_type)【磐石】-中国字 |
||||
|
*/ |
||||
|
@ColumnWidth(35) |
||||
|
@ExcelProperty(value = "类型(省内、省外、市内、县内)",order = 22) |
||||
|
private String tripDataTypeName; |
||||
|
} |
Loading…
Reference in new issue