things api and db

This commit is contained in:
imhao183
2020-05-01 12:39:29 +08:00
committed by heavyrain2012
parent e771794bc0
commit c741b4e1da
11 changed files with 117 additions and 61 deletions
@@ -15,13 +15,11 @@ import java.util.List;
public class ForwardDeviceMessageData {
private String deviceId;
private String owner;
private int type;
private byte[] data;
public ForwardDeviceMessageData(String deviceId, String owner, int type, byte[] data) {
public ForwardDeviceMessageData(String deviceId, int type, byte[] data) {
this.deviceId = deviceId;
this.owner = owner;
this.type = type;
this.data = data;
}
@@ -34,14 +32,6 @@ public class ForwardDeviceMessageData {
this.deviceId = deviceId;
}
public String getOwner() {
return owner;
}
public void setOwner(String owner) {
this.owner = owner;
}
public int getType() {
return type;
}