We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24e85c2 commit 7864328Copy full SHA for 7864328
src/main/java/com/back/domain/user/entity/User.java
@@ -31,4 +31,8 @@ public class User {
31
private LocalDateTime createdAt; // 생성 날짜
32
33
private LocalDateTime updatedAt; // 수정 날짜
34
+
35
+ @Builder.Default
36
+ @Column(nullable = false, length = 20)
37
+ private String role = "USER";
38
}
0 commit comments