package com.sptg.common.core.module;

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

/**
 * title: UserImportModule
 * package: com.sptg.common.core.module
 * description: 住户导入模板
 *
 *
 *
 */
@Getter
@Setter
public class UserImportModule extends BaseRowModel {

    @ExcelProperty(value = "小区所属省（必填）",index = 0)
    private String regionProvince;

    @ExcelProperty(value = "小区所属市（必填）" ,index = 1)
    private String regionCity;

    @ExcelProperty(value = "小区所属区/县（必填）",index = 2)
    private String regionArea;

//    @ExcelProperty(value = "小区所属街道（必填）",index = 3)
//    private String streetName;
//
//    @ExcelProperty(value = "所属社区全称（必填）",index = 4)
//    private String agencyName;

    @ExcelProperty(value = "所属小区全称（必填）",index = 3)
    private String residentialName;

    @ExcelProperty(value = "所属楼栋全称（必填）",index = 4)
    private String buildinglName;

    @ExcelProperty(value = "所属单元名称（必填）",index = 5)
    private String unitName;

    @ExcelProperty(value = "所属楼层名称（必填）",index = 6)
    private String floorName;

    @ExcelProperty(value = "所属房屋名称（必填）",index = 7)
    private String roomName;

    @ExcelProperty(value = "姓名（必填）", index = 8)
    private String name;

    @ExcelProperty(value = "联系方式（业主必填）", index = 9)
    private String tel;

    @ExcelProperty(value = "性别（必填，男/女）", index = 10)
    private String sex;

    @ExcelProperty(value = "住户类型（必填，业主/家属/租户}）", index = 11)
    private String type;

    @ExcelProperty(value = "身份证号（业主必填）", index = 12)
    private String idCard;

    @ExcelProperty(value = "籍贯", index = 13)
    private String birthPlace;

    @ExcelProperty(value = "备注", index = 14)
    private String remark;

    /**
     * 导入住户时导致错误的错误信息
     */
    @ExcelProperty(value = "",index = 15)
    private String importErrorMsg;
}
