construct method added

This commit is contained in:
geek 2017-06-23 17:25:56 +09:00
parent ba698b9453
commit d623331e99

View File

@ -21,6 +21,13 @@ public class Member {
private Date createDate; private Date createDate;
private MetaMemberStatus status; private MetaMemberStatus status;
public Member() {
}
public Member(long id) {
this.id = id;
}
@Id @Id
@GeneratedValue(strategy= GenerationType.IDENTITY) @GeneratedValue(strategy= GenerationType.IDENTITY)
public long getId() { public long getId() {