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;

/**
 * @author WFT
 * @date 2020/5/28
 * description:机构导入模板
 */
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class OrgExcelTemplate extends BaseRowModel {

    @ExcelProperty(value = "机构名称(必填)" ,index = 0)
    private String name;

    @ExcelProperty(value = "机构类型(必填,1:代理商,3:物业,4:社区)",index = 1)
    private String orgType;

    @ExcelProperty(value = "省名称(必填)",index = 2)
    private String regionProvince;

    @ExcelProperty(value = "市名称(必填)",index = 3)
    private String regionCity;

    @ExcelProperty(value = "区名称(必填)",index = 4)
    private String regionArea;

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

    @ExcelProperty(value = "负责人电话(选填)",index = 6)
    private String oldId;

    @ExcelProperty(value = "详细地址(选填)",index = 7)
    private String address;

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