rela
This commit is contained in:
snoop 2017-06-22 19:39:47 +09:00
parent 2ac5e1bf69
commit 16a5801ca6
3 changed files with 5 additions and 5 deletions

View File

@ -57,8 +57,8 @@ public class EmailAuth {
this.authConfirmDate = authConfirmDate;
}
@Basic
@Column(name = "MEMBER_ID", nullable = false)
@ManyToOne
@JoinColumn(name = "MEMBER_ID", nullable = false)
public Member getMember() {
return member;
}

View File

@ -87,7 +87,7 @@ public class Probe {
return domain;
}
public void setDomainId(Domain domainId) {
public void setDomain(Domain domain) {
this.domain = domain;
}

View File

@ -38,8 +38,8 @@ public class Target {
this.createDate = createDate;
}
@Basic
@Column(name = "PROBE_ID", nullable = false)
@ManyToOne
@JoinColumn(name = "PROBE_ID", nullable = false)
public Probe getProbe() {
return probe;
}