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