bug fix
This commit is contained in:
@@ -17,6 +17,7 @@ public class MetaSensorDisplayItem {
|
||||
private MetaSensorItemUnit unit;
|
||||
private Date createDate;
|
||||
private MetaSensorItemType itemType;
|
||||
private String key;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
||||
@@ -77,4 +78,13 @@ public class MetaSensorDisplayItem {
|
||||
public void setItemType(MetaSensorItemType itemType) {
|
||||
this.itemType = itemType;
|
||||
}
|
||||
|
||||
@Column(name = "KEY", nullable = false, length = 50)
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user