mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-23 14:40:49 +08:00
Introduce pluggable email and image upload
This commit is contained in:
@@ -35,6 +35,8 @@ public class User {
|
||||
|
||||
private String verificationCode;
|
||||
|
||||
private String avatar;
|
||||
|
||||
@Enumerated(EnumType.STRING)
|
||||
@Column(nullable = false)
|
||||
private Role role = Role.USER;
|
||||
|
||||
Reference in New Issue
Block a user