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>
<artifactId>commons-java</artifactId>
<packaging>jar</packaging>
<version>1.0.11-SNAPSHOT</version>
<version>1.0.12-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name>
<properties>

View File

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