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

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

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

    /*@ExcelProperty(value = "所属单元名称（选填）",index = 1)
    private String unitName;*/

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

    @ExcelProperty(value = "房间名称（必填）" ,index = 2)
    private String name;

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

//    @ExcelProperty(value = "房间编号（选填且为数字）",index = 4)
//    private String houseNumber;

    @ExcelProperty(value = "户型",index = 3)
    private String houseType;

    @ExcelProperty(value = "楼层",index = 4)
    private String floor;

    @ExcelProperty(value = "朝向",index = 5)
    private String orientation;

    @ExcelProperty(value = "装修",index = 6)
    private String ornament;

    @ExcelProperty(value = "面积(m²)",index = 7)
    private Double area;

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

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

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