From 29e54b6562150e89fb4c37946c097dbbeedaf607 Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 11 Jun 2018 21:56:20 +0900 Subject: [PATCH] ing --- pom.xml | 2 +- .../java/com/loafle/overflow/model/probe/Probe.java | 12 ++++++------ .../com/loafle/overflow/model/sensor/Sensor.java | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index d432842..c077d86 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.35-SNAPSHOT + 1.0.36-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/model/probe/Probe.java b/src/main/java/com/loafle/overflow/model/probe/Probe.java index 55165d4..e32fe79 100644 --- a/src/main/java/com/loafle/overflow/model/probe/Probe.java +++ b/src/main/java/com/loafle/overflow/model/probe/Probe.java @@ -21,7 +21,7 @@ public class Probe { private Domain domain; private String probeKey; private String encryptionKey; - private String displayName; + private String name; private String cidr; private Date authorizeDate; private Member authorizeMember; @@ -104,13 +104,13 @@ public class Probe { this.encryptionKey = encryptionKey; } - @Column(name = "DISPLAY_NAME") - public String getDisplayName() { - return displayName; + @Column(name = "NAME", nullable = false, length = 50) + public String getName() { + return name; } - public void setDisplayName(String displayName) { - this.displayName = displayName; + public void setName(String name) { + this.name = name; } @Column(name = "CIDR") 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 9732a22..2aad79b 100644 --- a/src/main/java/com/loafle/overflow/model/sensor/Sensor.java +++ b/src/main/java/com/loafle/overflow/model/sensor/Sensor.java @@ -19,7 +19,7 @@ import java.util.List; public class Sensor { private Long id; private Target target; - private String displayName; + private String name; private String description; private MetaSensorStatus metaSensorStatus; private MetaCrawler metaCrawler; @@ -98,13 +98,13 @@ public class Sensor { this.itemCount = itemCount; } - @Column(name = "DISPLAY_NAME", nullable = false, length = 50) - public String getDisplayName() { - return displayName; + @Column(name = "NAME", nullable = false, length = 50) + public String getName() { + return name; } - public void setDisplayName(String displayName) { - this.displayName = displayName; + public void setName(String name) { + this.name = name; } @Temporal(TemporalType.TIMESTAMP)