diff --git a/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java b/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java index 63e9059..045f6f2 100644 --- a/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java +++ b/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java @@ -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;