Skip to content

Commit

Permalink
Refactor: 회원 엔티티 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pjh5365 committed Sep 10, 2024
1 parent 6782509 commit b1f17f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/kaboo/kaboo_auth/domain/entity/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,21 @@ public class Member {
@Column(name = "member_id")
private Long id;

@Column(nullable = false, updatable = false)
private String username;
@Column(nullable = false, updatable = false)
private String email;
@Column(nullable = false, name = "korea_name")
private String koreaName;
@Column(nullable = false, name = "english_name")
private String englishName;
@Column(nullable = false)
private String password;

@Column(columnDefinition = "TEXT")
private String introduce;

@Column(name = "class_num")
private int classNum;

@Enumerated(EnumType.STRING)
Expand Down

0 comments on commit b1f17f5

Please sign in to comment.