1.0.0-SNAPSHOT

This commit is contained in:
insanity 2017-05-25 20:19:15 +09:00
parent 9130bd5a1a
commit 341cf40d71
2 changed files with 3 additions and 12 deletions

View File

@ -14,7 +14,6 @@
<artifactId>overflow_member</artifactId>
<packaging>jar</packaging>
<version>1.0.0-SNAPSHOT</version>
<name>com.loafle.overflow_member</name>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-entitymanager -->

View File

@ -4,11 +4,13 @@ package com.loafle.overflow.member.model;
import javax.persistence.*;
import java.io.Serializable;
/**
* Created by insanity on 17. 5. 23.
*/
@Entity(name = "MEMBER")
@Entity
@Table(name="MEMBER")
public class Member implements Serializable {
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
@ -32,9 +34,6 @@ public class Member implements Serializable {
@Column(name="PHONE")
private String phone;
@Column(name="REGIST_DATE", nullable=false)
private long registDate;
public Long getId() {
return id;
}
@ -91,11 +90,4 @@ public class Member implements Serializable {
this.phone = phone;
}
public long getRegistDate() {
return registDate;
}
public void setRegistDate(long registDate) {
this.registDate = registDate;
}
}