overflow_member model java

This commit is contained in:
insanity 2017-05-25 14:40:12 +09:00
parent 13a059f6ee
commit 75b5081940
2 changed files with 11 additions and 0 deletions

View File

@ -13,18 +13,25 @@ public class Member implements Serializable {
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
private Long id;
@Column(name="EMAIL", nullable=false)
private String email;
@Column(name="PW_SALT", nullable=false)
private String pwSalt;
@Column(name="DIGEST", nullable=false)
private String digest;
@Column(name="NAME", nullable=false)
private String name;
@Column(name="COMPANY", nullable=false)
private String company;
@Column(name="PHONE")
private String phone;
@Column(name="REGIST_DATE", nullable=false)
private long registDate;
@ -35,6 +42,7 @@ public class Member implements Serializable {
public void setId(Long id) {
this.id = id;
}
public String getEmail() {
return email;
}

View File

@ -1,8 +1,11 @@
package com.loafle;
import static org.junit.Assert.*;
import org.junit.Ignore;
import org.junit.Test;
@Ignore
public class AppTest {
@Test
public void testSum() {