Package com.bytedesk.core.rbac.user
Class UserEntity
java.lang.Object
com.bytedesk.core.base.BaseEntityNoOrg
com.bytedesk.core.rbac.user.UserEntity
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private OrganizationEntity
private Set<RoleEntity>
private String
private @Email(message="email format error") String
private boolean
private boolean
private String
private @Pattern(regexp="^1[3-9]\\d{9}$",message="Invalid mobile number format") String
private boolean
private String
private String
private String
private static final long
private String
private boolean
private @NotBlank(message="username is required") String
private Set<UserOrganizationRoleEntity>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
containsRole
(RoleEntity role) void
void
toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
num
-
username
@NotBlank(message="username is required") private @NotBlank(message="username is required") String username -
nickname
-
password
-
email
-
country
-
mobile
@Pattern(regexp="^1[3-9]\\d{9}$", message="Invalid mobile number format") private @Pattern(regexp="^1[3-9]\\d{9}$",message="Invalid mobile number format") String mobile -
avatar
-
description
-
sex
-
enabled
private boolean enabled -
superUser
private boolean superUser -
emailVerified
private boolean emailVerified -
mobileVerified
private boolean mobileVerified -
currentOrganization
-
currentRoles
-
userOrganizationRoles
-
extra
-
-
Constructor Details
-
UserEntity
public UserEntity()
-
-
Method Details