This commit is contained in:
crusader 2018-06-12 14:07:49 +09:00
parent 447f0b6d1d
commit 8ba84132f7
2 changed files with 36 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId>
<packaging>jar</packaging>
<version>1.0.46-SNAPSHOT</version>
<version>1.0.47-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name>
<properties>

View File

@ -16,6 +16,9 @@ public class InfraZone extends Infra {
private MetaIPType metaIPType;
private String network;
private String iface;
private String address;
private String mac;
@ManyToOne
@JoinColumn(name = "META_TARGET_ZONE_TYPE_ID", nullable = true)
@ -27,6 +30,7 @@ public class InfraZone extends Infra {
this.metaTargetZoneType = metaTargetZoneType;
}
@Basic
@Column(name = "NETWORK", nullable = true)
public String getNetwork() {
@ -37,6 +41,16 @@ public class InfraZone extends Infra {
this.network = network;
}
@Basic
@Column(name = "IFACE", nullable = true)
public String getIface() {
return iface;
}
public void setIface(String iface) {
this.iface = iface;
}
@ManyToOne
@JoinColumn(name = "META_IP_TYPE_ID", nullable = true)
public MetaIPType getMetaIPType() {
@ -46,4 +60,25 @@ public class InfraZone extends Infra {
public void setMetaIPType(MetaIPType metaIPType) {
this.metaIPType = metaIPType;
}
@Basic
@Column(name = "ADDRESS", nullable = true)
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
@Basic
@Column(name = "MAC", nullable = true)
public String getMac() {
return mac;
}
public void setMac(String mac) {
this.mac = mac;
}
}