package com.panzhihua.common.model.vos.community; import java.io.Serializable; import java.util.Date; import java.util.List; import com.alibaba.excel.annotation.ExcelProperty; import com.google.common.collect.Lists; import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; import lombok.Data; /** * @description: 批量导入服刑人员 * @author: txb */ @Data @EncryptDecryptClass public class ComMngPopulationSentenceExcelVO implements Serializable { @ExcelProperty(value = "序号", index = 0) private String serialNumber; @ExcelProperty(value = "姓名", index = 1) private String name; @ExcelProperty(value = "民族", index = 2) private String nation; @ExcelProperty(value = "身份证号码", index = 3) @EncryptDecryptField private String cardNo; @ExcelProperty(value = "联系电话", index = 4) private String phone; @ExcelProperty(value = "配偶", index = 5) private String spouse; @ExcelProperty(value = "职业", index = 6) private String profession; @ExcelProperty(value = "街/路/巷", index = 7) private String road; @ExcelProperty(value = "小区号", index = 8) private String doorNo; @ExcelProperty(value = "楼排号", index = 9) private String floor; @ExcelProperty(value = "单元号", index = 10) private String unitNo; @ExcelProperty(value = "户室(房间号)", index = 11) private String houseNo; @ExcelProperty(value = "是否租住", index = 12) private Integer isRent; @ExcelProperty(value = "房屋状态(1.自住 2.租住 3.其他)", index = 13) private Integer houseStatus; @ExcelProperty(value = "房屋用途(1.住宅 2.公寓 3.宿舍 4.仓库 5.其他)", index = 14) private Integer housePurpose; @ExcelProperty(value = "管控状态(1.常规 2.关注 3.管控)", index = 15) private Integer controlStatus; @ExcelProperty(value = "外地/本地(1.本地 2.外地)", index = 16) private Integer outOrLocal; @ExcelProperty(value = "户口所在地", index = 17) private String censusRegister; @ExcelProperty(value = "服刑地", index = 18) private String sentencePlace; @ExcelProperty(value = "服刑开始时间", index = 19) private Date sentenceBegin; @ExcelProperty(value = "服刑结束时间", index = 20) private Date sentenceEnd; @ExcelProperty(value = "罪名", index = 21) private String charge; @ExcelProperty(value = "备注", index = 22) private String remark; /** * 去重字段,使用(姓名+身份证号+街路巷+小区号+楼牌号+单元号+户室)组合字段进行MD5加密实现去重 */ private String distinctPass; /** * 年龄 */ private Integer age; /** * 性别(1.男 2.女) */ private Integer sex; /** * 出生年月日 */ private String birthday; /** * 扩展字段用逗号隔开 */ private List userTagStr = Lists.newArrayList(); private Long houseId; /** * 地址 */ private String address; }