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 {
// 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

View File

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