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>
|
<artifactId>overflow_member</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
<name>com.loafle.overflow_member</name>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-entitymanager -->
|
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-entitymanager -->
|
||||||
|
|
|
@ -4,11 +4,13 @@ package com.loafle.overflow.member.model;
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by insanity on 17. 5. 23.
|
* Created by insanity on 17. 5. 23.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Entity(name = "MEMBER")
|
@Entity
|
||||||
|
@Table(name="MEMBER")
|
||||||
public class Member implements Serializable {
|
public class Member implements Serializable {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
||||||
|
@ -32,9 +34,6 @@ public class Member implements Serializable {
|
||||||
@Column(name="PHONE")
|
@Column(name="PHONE")
|
||||||
private String phone;
|
private String phone;
|
||||||
|
|
||||||
@Column(name="REGIST_DATE", nullable=false)
|
|
||||||
private long registDate;
|
|
||||||
|
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
@ -91,11 +90,4 @@ public class Member implements Serializable {
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getRegistDate() {
|
|
||||||
return registDate;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRegistDate(long registDate) {
|
|
||||||
this.registDate = registDate;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user