package com.sptg.gateway.controller.common.excel.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author WFT
 * @date 2020/5/28
 * description:
 */
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class ThirdHouseUserExcelTemplate extends BaseRowModel {

    @ExcelProperty(value = "住户姓名(必填)",index = 0)
    private String name;

    @ExcelProperty(value = "房间Id(必填)",index = 1)
    private String roomId;

    @ExcelProperty(value = "原数据Id(必填)",index = 2)
    private String oldId;

    @ExcelProperty(value = "类型(必填,0:业主,1:成员,2:租户)",index = 3)
    private String type;

    @ExcelProperty(value = "性别(必填,0:未知,1:男,2:女)",index = 4)
    private String sex;

    @ExcelProperty(value = "国籍(必填,0:大陆,1:香港/澳门,2:台湾,3:海外)",index = 5)
    private String nationality;

    @ExcelProperty(value = "证件号码(选填)",index = 6)
    private String idCard;

    @ExcelProperty(value = "手机号码(选填)",index = 7)
    private String tel;

    @ExcelProperty(value = "籍贯(选填)",index = 8)
    private String birthPlace;

    @ExcelProperty(value = "人脸图片URI(选填)",index = 9)
    private String imageUri;

    @ExcelProperty(value = "人脸生效时间(选填)",index = 10)
    private Date faceBeginDate;

    @ExcelProperty(value = "人脸失效时间(选填)",index = 11)
    private Date faceEndDate;

    @ExcelProperty(value = "人脸码(选填)",index = 12)
    private String faceCode;

    @ExcelProperty(value = "人脸审核状态(选填,0:待审核,1:通过,2:拒绝)",index = 13)
    private Integer checkState;

}
