From 8ba84132f7c47e80fe5b27f394e7a555e11f5c4f Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 12 Jun 2018 14:07:49 +0900 Subject: [PATCH] ing --- pom.xml | 2 +- .../overflow/model/infra/InfraZone.java | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1a44dd9..7edb694 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.46-SNAPSHOT + 1.0.47-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/model/infra/InfraZone.java b/src/main/java/com/loafle/overflow/model/infra/InfraZone.java index 8be8634..5df32c4 100644 --- a/src/main/java/com/loafle/overflow/model/infra/InfraZone.java +++ b/src/main/java/com/loafle/overflow/model/infra/InfraZone.java @@ -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; + } + }