This commit is contained in:
crusader 2018-06-15 16:51:46 +09:00
parent acd0d90466
commit 91edf25603
2 changed files with 6 additions and 1 deletions

View File

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

View File

@ -4,6 +4,9 @@ import javax.persistence.*;
import com.loafle.overflow.model.meta.MetaIPType; import com.loafle.overflow.model.meta.MetaIPType;
import org.codehaus.jackson.annotate.JsonBackReference;
import org.codehaus.jackson.annotate.JsonManagedReference;
import java.util.Date; import java.util.Date;
/** /**
@ -13,6 +16,8 @@ import java.util.Date;
@Table(name = "INFRA_HOST_IP", schema = "public") @Table(name = "INFRA_HOST_IP", schema = "public")
public class InfraHostIP { public class InfraHostIP {
private Long id; private Long id;
@JsonBackReference
@JsonManagedReference
private InfraHost infraHost; private InfraHost infraHost;
private MetaIPType metaIPType; private MetaIPType metaIPType;
private String address; private String address;