类 User
java.lang.Object
xyz.raylab.support.mixin.Changeable
xyz.raylab.useridentity.domain.model.User
public class User
extends xyz.raylab.support.mixin.Changeable
用户的领域模型
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 xyz.raylab.support.mixin.Changeable
xyz.raylab.support.mixin.Changeable.Emptiable, xyz.raylab.support.mixin.Changeable.Nullable -
字段概要
从类继承的字段 xyz.raylab.support.mixin.Changeable
changed -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明associateRoles(List<UserRole> newRoles) 关联角色static User.UserBuilderbuilder()changeCellphoneNumberTo(String newCellphoneNumber) changeEmailTo(String newEmail) changeEnabledTo(Boolean newValue) changeGenderTo(xyz.raylab.support.domain.model.user.Gender newGender) changeIdentityCodeTo(String newIdentityCode) changeNameTo(String newName) changePasswordTo(String newPassword) 手机号码getEmail()邮箱xyz.raylab.support.domain.model.user.Gender性别身份证号码用户名从类继承的方法 xyz.raylab.support.mixin.Changeable
changePropertyTo, changePropertyTo, changePropertyTo, changePropertyTo, isChanged, propertyEquals, propertyNonEquals
-
构造器详细资料
-
User
public User()
-
-
方法详细资料
-
getUsername
用户名- 返回:
-
getCellphoneNumber
手机号码- 返回:
-
getEmail
邮箱- 返回:
-
getIdentityCode
身份证号码- 返回:
-
getGender
public xyz.raylab.support.domain.model.user.Gender getGender()性别- 返回:
-
changeNameTo
-
changeGenderTo
-
changePasswordTo
-
changeCellphoneNumberTo
-
changeEmailTo
-
changeIdentityCodeTo
-
changeEnabledTo
-
associateRoles
关联角色- 参数:
newRoles-- 返回:
-
builder
-