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

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

    @ExcelProperty(value = "单元名称（必填）",index = 1)
    private String name;

    /*@ExcelProperty(value = "单元编号（必填且为数字）",index = 2)
    private String unitNumber;*/

    @ExcelProperty(value = "负责人",index = 2)
    private String personName;

    @ExcelProperty(value = "联系方式" ,index = 3)
    private String personTel;

    @ExcelProperty(value = "建筑年代",index = 4)
    private String builtYear;

    @ExcelProperty(value = "产权性质",index = 5)
    private String propertyNature;

    @ExcelProperty(value = "有无电梯",index = 6)
    private String includingElevator;

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

    @ExcelProperty(value = "排序",index = 8)
    private String serial;

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