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: UserAccessImportModule
 * package: com.sptg.common.core.module
 * description: 住户卡导入模板
 *
 *
 *
 */
@Getter
@Setter
public class UserAccessImportModule extends BaseRowModel {

    @ExcelProperty(value = "小区编号（必填）" ,index = 0)
    private String residentialNumber;

    @ExcelProperty(value = "单元编号（必填）",index = 1)
    private String unitNumber;

//    @ExcelProperty(value = "门牌号（必填）" ,index = 2)
//    private String houseNumber;

    @ExcelProperty(value = "房间编号（必填）" ,index = 2)
    private String houseNumber;

    @ExcelProperty(value = "住户姓名（必填）",index = 3)
    private String userName;

    @ExcelProperty(value = "卡号（必填）",index = 4)
    private String cardNo;

    @ExcelProperty(value = "卡号开始有效期（必填，例如 2000-01-01 00:00:00）",index = 5)
    private String beginDate;

    @ExcelProperty(value = "卡号结束有效期（必填，例如 2000-01-01 00:00:00）",index = 6)
    private String endDate;

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

}
