1.0.0-SNAPSHOT
This commit is contained in:
parent
9130bd5a1a
commit
341cf40d71
1
pom.xml
1
pom.xml
|
@ -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 -->
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user