property modify
This commit is contained in:
parent
91bb059258
commit
66de3e3d07
|
@ -47,22 +47,6 @@ public class EmailAuth implements Serializable {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Boolean getInvalid() {
|
|
||||||
return isInvalid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setInvalid(Boolean invalid) {
|
|
||||||
isInvalid = invalid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean getIsConfirm() {
|
|
||||||
return isConfirm;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIsConfirm(Boolean confirm) {
|
|
||||||
isConfirm = confirm;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
@ -95,6 +79,14 @@ public class EmailAuth implements Serializable {
|
||||||
isInvalid = invalid;
|
isInvalid = invalid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Boolean getIsConfirm() {
|
||||||
|
return isConfirm;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIsConfirm(Boolean confirm) {
|
||||||
|
isConfirm = confirm;
|
||||||
|
}
|
||||||
|
|
||||||
public Date getCreateDate() {
|
public Date getCreateDate() {
|
||||||
return createDate;
|
return createDate;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class JPAEmailAuthDAOTest {
|
||||||
|
|
||||||
auth.setAuthToken("0F2003A6-83B0-40F5-B56A-0485F458CA911");
|
auth.setAuthToken("0F2003A6-83B0-40F5-B56A-0485F458CA911");
|
||||||
auth.setMember(new Member(Long.valueOf(1)));
|
auth.setMember(new Member(Long.valueOf(1)));
|
||||||
auth.setInvalid(false);
|
auth.setIsInvalid(false);
|
||||||
// auth.setUpdateDate(new Date());
|
// auth.setUpdateDate(new Date());
|
||||||
auth.setIsConfirm(false);
|
auth.setIsConfirm(false);
|
||||||
EmailAuth ret = emailAuthDAO.create(auth);
|
EmailAuth ret = emailAuthDAO.create(auth);
|
||||||
|
@ -39,7 +39,7 @@ public class JPAEmailAuthDAOTest {
|
||||||
public void updateEmailAuth() {
|
public void updateEmailAuth() {
|
||||||
EmailAuth auth = this.emailAuthDAO.find("1");
|
EmailAuth auth = this.emailAuthDAO.find("1");
|
||||||
|
|
||||||
auth.setInvalid(true);
|
auth.setIsInvalid(true);
|
||||||
auth.setUpdateDate(new Date());
|
auth.setUpdateDate(new Date());
|
||||||
auth.setConfirmDate(new Date());
|
auth.setConfirmDate(new Date());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user