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

View File

@ -13,7 +13,7 @@
<groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId>
<packaging>jar</packaging>
<version>1.0.100-SNAPSHOT</version>
<version>1.0.101-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name>
<properties>

View File

@ -21,9 +21,10 @@ 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;
private String pw;
@Basic
@Column(name = "NAME", nullable = true, length = 50)
@ -75,12 +76,10 @@ public class Member {
this.email = email;
}
@JsonIgnore
public String getPw() {
return pw;
}
@JsonIgnore
public void setPw(String pw) {
this.pw = pw;
}