This commit is contained in:
geek 2018-04-26 16:40:57 +09:00
parent 4357f7ea04
commit 68097b8e87
2 changed files with 17 additions and 17 deletions

View File

@ -12,8 +12,8 @@ import java.util.Date;
public class InfraHost extends Infra { public class InfraHost extends Infra {
// private long id; // private long id;
private InfraOS os; private InfraOS os;
private String ipV4; private String ipv4;
private String ipV6; private String ipv6;
private String mac; private String mac;
private Date createDate; private Date createDate;
@ -38,23 +38,23 @@ public class InfraHost extends Infra {
} }
@Basic @Basic
@Column(name = "IP", nullable = true) @Column(name = "IP_V4", nullable = true)
public String getIpV4() { public String getIpv4() {
return ipV4; return ipv4;
} }
public void setIpV4(String ipV4) { public void setIpv4(String ipv4) {
this.ipV4 = ipV4; this.ipv4 = ipv4;
} }
@Basic @Basic
@Column(name = "IP", nullable = true) @Column(name = "IP_V6", nullable = true)
public String getIpV6() { public String getIpv6() {
return ipV6; return ipv6;
} }
public void setIpV6(String ipV4) { public void setIpv6(String ipv6) {
this.ipV6 = ipV4; this.ipv6 = ipv6;
} }
@Basic @Basic

View File

@ -6,17 +6,17 @@ import com.loafle.overflow.core.type.PortType;
* Connection * Connection
*/ */
public class Connection { public class Connection {
private String ipV4; private String ipv4;
private int port; private int port;
private PortType portType; private PortType portType;
private boolean ssl; private boolean ssl;
public String getIpV4() { public String getIpv4() {
return ipV4; return ipv4;
} }
public void getIpV4(String ipV4) { public void setIpv4(String ipv4) {
this.ipV4 = ipV4; this.ipv4 = ipv4;
} }
public int getPort() { public int getPort() {