Created
August 11, 2021 15:42
-
-
Save yooniversal/6114aa5d4f50191863ec5806ed7282e9 to your computer and use it in GitHub Desktop.
JPA 2장 : Member 어노테이션 추가
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.persistence.*; | |
@Entity | |
@Table(name="MEMBER") | |
public class Member { | |
@Id | |
@Column(name = "ID") | |
private String id; | |
@Column(name = "NAME") | |
private String username; | |
private Integer age; | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment