package com.njcn.csdevice.pojo.param;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2022/11/21  9:35【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
public class DeviceExcelTemplete implements Serializable {




    /**
     * 装置名称
     */
    @Excel(name = "设备名称", width = 15)
    private String name;

    /**
     * 网关识别码
     */
    @Excel(name = "网络设备ID", width = 15)
    private String ndid;

    /**
     * 装置类型(直连设备、网关设备、装置)
     */
    @Excel(name = "设备类型（直连设备,网关设备、便携式设备）", width = 30)
    private String devType;

    /**
     * 装置型号（pqs588、pqs680...）
     */
    @Excel(name = "设备型号", width = 15)
    private String devModel;

    /**
     * 装置接入方式（mqtt、cloud）
     */
    @Excel(name = "通讯协议（MQTT、CLD）", width = 25)
    private String devAccessMethod;

    /**
     * 合同号
     */
    @Excel(name = "合同号", width = 15)
    private String cntractNo;

    @EqualsAndHashCode(callSuper = true)

    public static class IllegalityDeviceExcelTemplete extends DeviceExcelTemplete implements Serializable {
        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        @Excel(name = "错误信息描述", width = 30)
        private String msg;
    }

}
