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/6/8
 * description:
 */
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class ThirdDeviceExcelTemplate extends BaseRowModel {

    @ExcelProperty(value = "设备序列号(必填)",index = 0)
    private String serialNumber;

    @ExcelProperty(value = "原数据Id(必填)",index = 1)
    private String oldId;

    @ExcelProperty(value = "小区Id(必填)",index = 2)
    private String xqId;

    @ExcelProperty(value = "单元Id(选填)",index = 3)
    private String unitId;

    @ExcelProperty(value = "设备厂商(必填,1:巨龙,2:大豪,3:全视通)",index = 4)
    private String deviceFactory;

    @ExcelProperty(value = "设备别名(选填)",index = 5)
    private String alias;

    @ExcelProperty(value = "设备朝向(选填,1:进,2:出,默认1)",index = 6)
    private Integer isOut;

    @ExcelProperty(value = "开门密码(选填,默认000000)",index = 7)
    private String openDoorPwd;

    @ExcelProperty(value = "管理密码(选填,默认115200)",index = 8)
    private String adminPwd;

    @ExcelProperty(value = "支持人脸识别(选填,1:支持,2:不支持,默认1)",index = 9)
    private Integer haveFace;

    @ExcelProperty(value = "人脸识别度(选填,1~100之间的数字,默认75)",index = 10)
    private Integer faceResolution;

    @ExcelProperty(value = "开门时长(选填,默认5秒)",index = 11)
    private Integer delay;

}
