Introduce pluggable email and image upload

This commit is contained in:
Tim
2025-07-01 09:58:40 +08:00
parent 9db69ba714
commit aa64ef5ee1
16 changed files with 266 additions and 9 deletions

View File

@@ -35,6 +35,8 @@ public class User {
private String verificationCode;
private String avatar;
@Enumerated(EnumType.STRING)
@Column(nullable = false)
private Role role = Role.USER;