This commit is contained in:
insanity
2018-06-22 20:25:25 +09:00
parent 7ca43f08f6
commit 6c05d35322
2 changed files with 3 additions and 2 deletions

View File

@@ -21,7 +21,6 @@ public class Member {
@Column(name = "EMAIL", nullable = false, length = 50)
private String email;
@JsonIgnore
@Basic
@Column(name = "PW", nullable = true, length = 64)
private transient String pw;
@@ -76,10 +75,12 @@ public class Member {
this.email = email;
}
@JsonIgnore
public String getPw() {
return pw;
}
@JsonIgnore
public void setPw(String pw) {
this.pw = pw;
}