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>
|
||||
<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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user