From a40d16ae55a508cee3d335e25b21e829ccd15e34 Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 23 Jun 2017 11:52:14 +0900 Subject: [PATCH] fixed DESC -> DESCRIPTION --- .../overflow/module/sensor/model/Sensor.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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;