This commit is contained in:
crusader 2018-06-06 00:52:07 +09:00
parent a021b4026a
commit a03f09f227
2 changed files with 7 additions and 7 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.11-SNAPSHOT</version> <version>1.0.12-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name> <name>com.loafle.overflow.commons-java</name>
<properties> <properties>

View File

@ -14,7 +14,7 @@ public class ProbeHost {
private Long id; private Long id;
private Probe probe; private Probe probe;
private InfraHost host; private InfraHost infraHost;
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.IDENTITY)
@ -37,12 +37,12 @@ public class ProbeHost {
} }
@OneToOne @OneToOne
@JoinColumn(name = "HOST_ID", nullable = false) @JoinColumn(name = "INFRA_HOST_ID", nullable = false)
public InfraHost getHost() { public InfraHost getInfraHost() {
return host; return infraHost;
} }
public void setHost(InfraHost infraHost) { public void setInfraHost(InfraHost infraHost) {
this.host = infraHost; this.infraHost = infraHost;
} }
} }