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() {