From 68097b8e87d3cc4321d033d203507d5fa7c9eab8 Mon Sep 17 00:00:00 2001 From: geek Date: Thu, 26 Apr 2018 16:40:57 +0900 Subject: [PATCH] ing --- .../overflow/model/infra/InfraHost.java | 24 +++++++++---------- .../model/sensorconfig/Connection.java | 10 ++++---- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/main/java/com/loafle/overflow/model/infra/InfraHost.java b/src/main/java/com/loafle/overflow/model/infra/InfraHost.java index 7abfe06..8d6e9d0 100644 --- a/src/main/java/com/loafle/overflow/model/infra/InfraHost.java +++ b/src/main/java/com/loafle/overflow/model/infra/InfraHost.java @@ -12,8 +12,8 @@ import java.util.Date; public class InfraHost extends Infra { // private long id; private InfraOS os; - private String ipV4; - private String ipV6; + private String ipv4; + private String ipv6; private String mac; private Date createDate; @@ -38,23 +38,23 @@ public class InfraHost extends Infra { } @Basic - @Column(name = "IP", nullable = true) - public String getIpV4() { - return ipV4; + @Column(name = "IP_V4", nullable = true) + public String getIpv4() { + return ipv4; } - public void setIpV4(String ipV4) { - this.ipV4 = ipV4; + public void setIpv4(String ipv4) { + this.ipv4 = ipv4; } @Basic - @Column(name = "IP", nullable = true) - public String getIpV6() { - return ipV6; + @Column(name = "IP_V6", nullable = true) + public String getIpv6() { + return ipv6; } - public void setIpV6(String ipV4) { - this.ipV6 = ipV4; + public void setIpv6(String ipv6) { + this.ipv6 = ipv6; } @Basic diff --git a/src/main/java/com/loafle/overflow/model/sensorconfig/Connection.java b/src/main/java/com/loafle/overflow/model/sensorconfig/Connection.java index 315585e..220bfcb 100644 --- a/src/main/java/com/loafle/overflow/model/sensorconfig/Connection.java +++ b/src/main/java/com/loafle/overflow/model/sensorconfig/Connection.java @@ -6,17 +6,17 @@ import com.loafle.overflow.core.type.PortType; * Connection */ public class Connection { - private String ipV4; + private String ipv4; private int port; private PortType portType; private boolean ssl; - public String getIpV4() { - return ipV4; + public String getIpv4() { + return ipv4; } - public void getIpV4(String ipV4) { - this.ipV4 = ipV4; + public void setIpv4(String ipv4) { + this.ipv4 = ipv4; } public int getPort() {