ing
This commit is contained in:
parent
f62f0107c1
commit
5b21689fbd
|
@ -16,6 +16,7 @@ public class EmailAuth {
|
||||||
private Date createDate;
|
private Date createDate;
|
||||||
private Date authConfirmDate;
|
private Date authConfirmDate;
|
||||||
private Member member;
|
private Member member;
|
||||||
|
private String emailType;
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
||||||
|
@ -66,4 +67,14 @@ public class EmailAuth {
|
||||||
public void setMember(Member member) {
|
public void setMember(Member member) {
|
||||||
this.member = member;
|
this.member = member;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Basic
|
||||||
|
@Column(name = "EMAIL_TYPE", nullable = true, length = 10)
|
||||||
|
public String getEmailType() {
|
||||||
|
return emailType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEmailType(String emailType) {
|
||||||
|
this.emailType = emailType;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
package com.loafle.overflow.model.email.type;
|
||||||
|
|
||||||
|
public enum EmailType {
|
||||||
|
SIGNUP("SIGNUP"),
|
||||||
|
PASSWORD("PASSWORD");
|
||||||
|
|
||||||
|
private String stringValue;
|
||||||
|
EmailType(String string) {stringValue = string;}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return stringValue;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user