rrr
This commit is contained in:
snoop 2017-06-22 19:37:06 +09:00
parent d51d017602
commit 2ac5e1bf69

View File

@ -81,8 +81,8 @@ public class Probe {
this.nextPollingDate = nextPollingDate;
}
@Basic
@Column(name = "DOMAIN_ID", nullable = false)
@ManyToOne
@JoinColumn(name = "DOMAIN_ID", nullable = false)
public Domain getDomain() {
return domain;
}
@ -91,8 +91,8 @@ public class Probe {
this.domain = domain;
}
@Basic
@Column(name = "PROBE_KEY", nullable = false, length = 50)
@Column(name = "PROBE_KEY", nullable = false)
public String getProbeKey() {
return probeKey;
}