New file |
| | |
| | | package com.hdl.linkpm.sdk.template.bean;/* |
| | | *create by wxr |
| | | *date 2022/2/11 |
| | | */ |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | public class CloudTemplateDevice implements Serializable { |
| | | private String templateOidId;// 模板设备id (云端id) string |
| | | private String templateExtendsId;// 对应的模板id long |
| | | private String templateDeviceOidModelId;// model id 模板设备型号 string |
| | | private String templateDeviceOidImageId;// 模板设备镜像id string |
| | | private String firmwareVersion;// 固件版本 string |
| | | private String hardwareVersion;// 硬件版本 string |
| | | private String serialNumber;// 设备序列号 string |
| | | private String templateDeviceOidAddr;// 物理设备 mac string |
| | | private String templateDeviceOidManufacturer;// 设备制造商 string |
| | | private String templateDeviceOidName;// 模板设备名称 string |
| | | private String templateDeviceOidDesc; // 模板设备描述 string |
| | | private String templateRoomId; // 模板房间id string |
| | | private String templateOidIcon; // 模板设备图片 string |
| | | private String extInfo; //-- 存储设备里面的功能列表,目前讨论使用 json 传递 (一条数据就是多个按键,表示一个继电器) string |
| | | private String linkOid; |
| | | |
| | | public String getLinkOid() { |
| | | return linkOid; |
| | | } |
| | | |
| | | public void setLinkOid(String linkOid) { |
| | | this.linkOid = linkOid; |
| | | } |
| | | |
| | | public String getTemplateOidId() { |
| | | return templateOidId == null ? "" : templateOidId; |
| | | } |
| | | |
| | | public void setTemplateOidId(String templateOidId) { |
| | | this.templateOidId = templateOidId; |
| | | } |
| | | |
| | | public String getTemplateExtendsId() { |
| | | return templateExtendsId == null ? "" : templateExtendsId; |
| | | } |
| | | |
| | | public void setTemplateExtendsId(String templateExtendsId) { |
| | | this.templateExtendsId = templateExtendsId; |
| | | } |
| | | |
| | | public String getTemplateDeviceOidModelId() { |
| | | return templateDeviceOidModelId == null ? "" : templateDeviceOidModelId; |
| | | } |
| | | |
| | | public void setTemplateDeviceOidModelId(String templateDeviceOidModelId) { |
| | | this.templateDeviceOidModelId = templateDeviceOidModelId; |
| | | } |
| | | |
| | | public String getTemplateDeviceOidImageId() { |
| | | return templateDeviceOidImageId == null ? "" : templateDeviceOidImageId; |
| | | } |
| | | |
| | | public void setTemplateDeviceOidImageId(String templateDeviceOidImageId) { |
| | | this.templateDeviceOidImageId = templateDeviceOidImageId; |
| | | } |
| | | |
| | | public String getFirmwareVersion() { |
| | | return firmwareVersion == null ? "" : firmwareVersion; |
| | | } |
| | | |
| | | public void setFirmwareVersion(String firmwareVersion) { |
| | | this.firmwareVersion = firmwareVersion; |
| | | } |
| | | |
| | | public String getHardwareVersion() { |
| | | return hardwareVersion == null ? "" : hardwareVersion; |
| | | } |
| | | |
| | | public void setHardwareVersion(String hardwareVersion) { |
| | | this.hardwareVersion = hardwareVersion; |
| | | } |
| | | |
| | | public String getSerialNumber() { |
| | | return serialNumber == null ? "" : serialNumber; |
| | | } |
| | | |
| | | public void setSerialNumber(String serialNumber) { |
| | | this.serialNumber = serialNumber; |
| | | } |
| | | |
| | | public String getTemplateDeviceOidAddr() { |
| | | return templateDeviceOidAddr == null ? "" : templateDeviceOidAddr; |
| | | } |
| | | |
| | | public void setTemplateDeviceOidAddr(String templateDeviceOidAddr) { |
| | | this.templateDeviceOidAddr = templateDeviceOidAddr; |
| | | } |
| | | |
| | | public String getTemplateDeviceOidManufacturer() { |
| | | return templateDeviceOidManufacturer == null ? "" : templateDeviceOidManufacturer; |
| | | } |
| | | |
| | | public void setTemplateDeviceOidManufacturer(String templateDeviceOidManufacturer) { |
| | | this.templateDeviceOidManufacturer = templateDeviceOidManufacturer; |
| | | } |
| | | |
| | | public String getTemplateDeviceOidName() { |
| | | return templateDeviceOidName == null ? "" : templateDeviceOidName; |
| | | } |
| | | |
| | | public void setTemplateDeviceOidName(String templateDeviceOidName) { |
| | | this.templateDeviceOidName = templateDeviceOidName; |
| | | } |
| | | |
| | | public String getTemplateDeviceOidDesc() { |
| | | return templateDeviceOidDesc == null ? "" : templateDeviceOidDesc; |
| | | } |
| | | |
| | | public void setTemplateDeviceOidDesc(String templateDeviceOidDesc) { |
| | | this.templateDeviceOidDesc = templateDeviceOidDesc; |
| | | } |
| | | |
| | | public String getTemplateRoomId() { |
| | | return templateRoomId == null ? "" : templateRoomId; |
| | | } |
| | | |
| | | public void setTemplateRoomId(String templateRoomId) { |
| | | this.templateRoomId = templateRoomId; |
| | | } |
| | | |
| | | public String getTemplateOidIcon() { |
| | | return templateOidIcon == null ? "" : templateOidIcon; |
| | | } |
| | | |
| | | public void setTemplateOidIcon(String templateOidIcon) { |
| | | this.templateOidIcon = templateOidIcon; |
| | | } |
| | | |
| | | public String getExtInfo() { |
| | | return extInfo == null ? "" : extInfo; |
| | | } |
| | | |
| | | public void setExtInfo(String extInfo) { |
| | | this.extInfo = extInfo; |
| | | } |
| | | } |