DESC -> DESCRIPTION
This commit is contained in:
snoop 2017-06-23 11:52:14 +09:00
parent 341defb273
commit a40d16ae55

View File

@ -15,7 +15,7 @@ import java.util.Date;
public class Sensor { public class Sensor {
private long id; private long id;
private Date createDate; private Date createDate;
private String desc; private String description;
private String status; private String status;
private Target target; private Target target;
private MetaCrawler crawler; private MetaCrawler crawler;
@ -41,17 +41,15 @@ public class Sensor {
this.createDate = createDate; this.createDate = createDate;
} }
@Column(name = "DESCRIPTION", nullable = true, length = 50)
@Column(name = "DESC", nullable = true, length = 50) public String getDescription() {
public String getDesc() { return description;
return desc;
} }
public void setDesc(String desc) { public void setDescription(String description) {
this.desc = desc; this.description = description;
} }
@Column(name = "STATUS", nullable = true, length = 50) @Column(name = "STATUS", nullable = true, length = 50)
public String getStatus() { public String getStatus() {
return status; return status;