This commit is contained in:
insanity
2018-04-24 18:54:44 +09:00
parent eba59ee47e
commit 0550d5ea0f
2 changed files with 27 additions and 7 deletions

View File

@@ -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;
}
}