package org.springblade.modules.house.excel;
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
|
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* UserExcel
|
*
|
* @author Chill
|
*/
|
@Data
|
@ColumnWidth(25)
|
@HeadRowHeight(20)
|
@ContentRowHeight(18)
|
public class HouseHoldExcel implements Serializable {
|
|
private static final long serialVersionUID = 2L;
|
|
|
/** 主键id */
|
@ColumnWidth(15)
|
@ExcelProperty( "主键ID")
|
private Long id;
|
|
/** 门牌地址编码 */
|
@ColumnWidth(15)
|
@ExcelProperty( "门牌地址编码")
|
private String houseCode;
|
|
/** 姓名 */
|
@ColumnWidth(15)
|
@ExcelProperty( "姓名")
|
private String name;
|
|
/** 手机号 */
|
@ColumnWidth(15)
|
@ExcelProperty( "手机号")
|
private String phoneNumber;
|
|
/** 绑定用户ID */
|
@ColumnWidth(15)
|
@ExcelProperty( "绑定用户ID")
|
private Long associatedUserId;
|
|
/** 角色 */
|
@ColumnWidth(15)
|
@ExcelProperty( "角色 ")
|
private Integer roleType;
|
|
/** 绑定用户名称 */
|
@ColumnWidth(15)
|
@ExcelProperty( "绑定用户名称")
|
private String associatedUserName;
|
|
/** 与角色关系(业主,父子,其他) */
|
@ColumnWidth(15)
|
@ExcelProperty( "与角色关系(业主,父子,其他)")
|
private Integer relationship;
|
|
/** 是否主要联系人 1:是 0:否 */
|
@ColumnWidth(15)
|
@ExcelProperty( "是否主要联系人 1:是 0:否")
|
private Integer isPrimaryContact;
|
|
/** 居住状态 1: 是 0:否 */
|
@ColumnWidth(15)
|
@ExcelProperty( "居住状态 1: 是 0:否")
|
private Integer residentialStatus;
|
|
/** 性别 1: 男 0:女 2: 未知 */
|
@ColumnWidth(15)
|
@ExcelProperty( "性别 1: 男 0:女 2: 未知")
|
private Short gender;
|
|
/** 生日 */
|
@ColumnWidth(15)
|
@ExcelProperty( "生日")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date birthday;
|
|
/** 身份证 */
|
@ColumnWidth(15)
|
@ExcelProperty( "身份证")
|
private String idCard;
|
|
/** 港澳台通行证 */
|
@ColumnWidth(15)
|
@ExcelProperty( "港澳台通行证")
|
private String hkmtPass;
|
|
/** 护照 */
|
@ColumnWidth(15)
|
@ExcelProperty( "护照")
|
private String passport;
|
|
/** 民族 */
|
@ColumnWidth(15)
|
@ExcelProperty( "民族")
|
private Integer ethnicity;
|
|
/** 学历 */
|
@ColumnWidth(15)
|
@ExcelProperty( "学历")
|
private Integer education;
|
|
/** 户籍登记地 */
|
@ColumnWidth(15)
|
@ExcelProperty( "户籍登记地")
|
private String hukouRegistration;
|
|
/** 工作状态 */
|
@ColumnWidth(15)
|
@ExcelProperty( "工作状态")
|
private Integer workStatus;
|
|
/** 工作单位 */
|
@ColumnWidth(15)
|
@ExcelProperty( "工作单位")
|
private String employer;
|
|
/** 婚姻状态 */
|
@ColumnWidth(15)
|
@ExcelProperty( "婚姻状态")
|
private Integer maritalStatus;
|
|
/** 车牌号 */
|
@ColumnWidth(15)
|
@ExcelProperty( "车牌号")
|
private String cardNumber;
|
|
/** 其他联系方式 */
|
@ColumnWidth(15)
|
@ExcelProperty( "其他联系方式")
|
private String otherContact;
|
|
/** 现居住地址 */
|
@ColumnWidth(15)
|
@ExcelProperty( "现居住地址")
|
private String currentAddress;
|
|
/** 残疾证 */
|
@ColumnWidth(15)
|
@ExcelProperty( "残疾证")
|
private String disabilityCert;
|
|
/** 是否党员 1:党员 2:群众 */
|
@ColumnWidth(15)
|
@ExcelProperty( "是否党员 1:党员 2:群众")
|
private Integer partyEmber;
|
|
/** 创建人 */
|
@ColumnWidth(15)
|
@ExcelProperty( "创建人")
|
private Long createUser;
|
|
/** 创建时间 */
|
@ColumnWidth(15)
|
@ExcelProperty( "创建时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date createTime;
|
|
/** 更新人 */
|
@ColumnWidth(15)
|
@ExcelIgnore
|
@ExcelProperty( "更新人")
|
private Long updateUser;
|
|
/** 更新时间 */
|
@ExcelProperty( "更新时间")
|
@ColumnWidth(15)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date updateTime;
|
|
/** 备注 */
|
@ColumnWidth(15)
|
@ExcelProperty( "备注")
|
private String remark;
|
|
}
|