diff --git a/pom.xml b/pom.xml index 7247944..446ab44 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.111-SNAPSHOT + 1.0.112-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/model/meta/MetaCrawler.java b/src/main/java/com/loafle/overflow/model/meta/MetaCrawler.java index fcb36de..d8cba41 100644 --- a/src/main/java/com/loafle/overflow/model/meta/MetaCrawler.java +++ b/src/main/java/com/loafle/overflow/model/meta/MetaCrawler.java @@ -19,10 +19,6 @@ public class MetaCrawler { @Column(name = "NAME", nullable = true, length = 50) private String name; - @Basic - @Column(name = "IS_DEFAULT", nullable = false, columnDefinition = "Boolean default false") - private Boolean isDefault; - @Temporal(TemporalType.TIMESTAMP) @Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false) private Date createDate; @@ -51,14 +47,6 @@ public class MetaCrawler { this.name = name; } - public Boolean getDefault() { - return isDefault; - } - - public void setDefault(Boolean aDefault) { - isDefault = aDefault; - } - public Date getCreateDate() { return createDate; } diff --git a/src/main/java/com/loafle/overflow/model/sensor/Sensor.java b/src/main/java/com/loafle/overflow/model/sensor/Sensor.java index 0357f37..bdcdc8a 100644 --- a/src/main/java/com/loafle/overflow/model/sensor/Sensor.java +++ b/src/main/java/com/loafle/overflow/model/sensor/Sensor.java @@ -110,6 +110,14 @@ public class Sensor { this.name = name; } + public Integer getInterval() { + return interval; + } + + public void setInterval(Integer interval) { + this.interval = interval; + } + public Date getCreateDate() { return createDate; }