diff --git a/src/main/java/kaboo/kaboo_auth/domain/entity/Member.java b/src/main/java/kaboo/kaboo_auth/domain/entity/Member.java index bbd68c9..283f14b 100644 --- a/src/main/java/kaboo/kaboo_auth/domain/entity/Member.java +++ b/src/main/java/kaboo/kaboo_auth/domain/entity/Member.java @@ -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)