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