mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
feat: 开关新增保存到数据库
This commit is contained in:
@@ -40,12 +40,7 @@ public class Device implements Serializable {
|
||||
* 开关状态
|
||||
*/
|
||||
private String onOff;
|
||||
|
||||
/**
|
||||
* 设备描述信息
|
||||
*/
|
||||
private String description;
|
||||
|
||||
|
||||
/**
|
||||
* 设备列表界面 list icon id
|
||||
*/
|
||||
@@ -89,17 +84,16 @@ public class Device implements Serializable {
|
||||
*/
|
||||
private String createTime;
|
||||
|
||||
@Generated(hash = 94069086)
|
||||
@Generated(hash = 1723639212)
|
||||
public Device(Long id, Integer order, String deviceName, String deviceType,
|
||||
String onOff, String description, Integer iconId, String commandPath,
|
||||
String commandStatus, String commandOpen, String commandClose,
|
||||
Integer isDeleted, String remark, String createTime) {
|
||||
String onOff, Integer iconId, String commandPath, String commandStatus,
|
||||
String commandOpen, String commandClose, Integer isDeleted,
|
||||
String remark, String createTime) {
|
||||
this.id = id;
|
||||
this.order = order;
|
||||
this.deviceName = deviceName;
|
||||
this.deviceType = deviceType;
|
||||
this.onOff = onOff;
|
||||
this.description = description;
|
||||
this.iconId = iconId;
|
||||
this.commandPath = commandPath;
|
||||
this.commandStatus = commandStatus;
|
||||
@@ -146,14 +140,6 @@ public class Device implements Serializable {
|
||||
this.onOff = onOff;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Integer getIconId() {
|
||||
return this.iconId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user