property modify

This commit is contained in:
geek 2017-06-07 14:40:26 +09:00
parent 91bb059258
commit 66de3e3d07
2 changed files with 10 additions and 18 deletions

View File

@ -47,22 +47,6 @@ public class EmailAuth implements Serializable {
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() {
return id;
}
@ -95,6 +79,14 @@ public class EmailAuth implements Serializable {
isInvalid = invalid;
}
public Boolean getIsConfirm() {
return isConfirm;
}
public void setIsConfirm(Boolean confirm) {
isConfirm = confirm;
}
public Date getCreateDate() {
return createDate;
}

View File

@ -28,7 +28,7 @@ public class JPAEmailAuthDAOTest {
auth.setAuthToken("0F2003A6-83B0-40F5-B56A-0485F458CA911");
auth.setMember(new Member(Long.valueOf(1)));
auth.setInvalid(false);
auth.setIsInvalid(false);
// auth.setUpdateDate(new Date());
auth.setIsConfirm(false);
EmailAuth ret = emailAuthDAO.create(auth);
@ -39,7 +39,7 @@ public class JPAEmailAuthDAOTest {
public void updateEmailAuth() {
EmailAuth auth = this.emailAuthDAO.find("1");
auth.setInvalid(true);
auth.setIsInvalid(true);
auth.setUpdateDate(new Date());
auth.setConfirmDate(new Date());