package com.fastbee.iot.model;
|
|
/**
|
* 动作
|
* @author kerwincui
|
* @date 2021-12-16
|
*/
|
public class Action
|
{
|
/** 标识符 */
|
private String id;
|
|
/** 名称 */
|
private String name;
|
|
/** 值 */
|
private String value;
|
|
/** 类型:1=属性,2=功能,3=事件,5=设备上线,6=设备下线 */
|
private int type;
|
|
/** 产品ID */
|
private Long productId;
|
|
/** 产品名称 */
|
private String productName;
|
|
/** 设备ID */
|
private Long deviceId;
|
|
/** 设备名称 */
|
private String deviceName;
|
|
/** 设备编号 */
|
private String serialNumber;
|
|
|
public Long getProductId() {
|
return productId;
|
}
|
|
public void setProductId(Long productId) {
|
this.productId = productId;
|
}
|
|
public String getProductName() {
|
return productName;
|
}
|
|
public void setProductName(String productName) {
|
this.productName = productName;
|
}
|
|
public String getSerialNumber() {
|
return serialNumber;
|
}
|
|
public void setSerialNumber(String serialNumber) {
|
this.serialNumber = serialNumber;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getValue() {
|
return value;
|
}
|
|
public void setValue(String value) {
|
this.value = value;
|
}
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
public Long getDeviceId() {
|
return deviceId;
|
}
|
|
public void setDeviceId(Long deviceId) {
|
this.deviceId = deviceId;
|
}
|
|
public String getDeviceName() {
|
return deviceName;
|
}
|
|
public void setDeviceName(String deviceName) {
|
this.deviceName = deviceName;
|
}
|
|
}
|