ing
This commit is contained in:
parent
a021b4026a
commit
a03f09f227
2
pom.xml
2
pom.xml
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user