ing
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user