top.beanshell.rbac.controller.request.RbacUserUpdateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ram-rbac-endpoint Show documentation
Show all versions of ram-rbac-endpoint Show documentation
ram rbac base component --- restful api impl.
The newest version!
package top.beanshell.rbac.controller.request;
import lombok.Data;
import top.beanshell.rbac.common.model.enums.AccountState;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
* 更新用户信息
* @author binchao
*/
@Data
public class RbacUserUpdateRequest implements Serializable {
/**
* ID
*/
@NotNull(message = "{i18n.request.valid.id}")
private Long id;
/**
* 邮箱
*/
private String email;
/**
* 手机号码
*/
private String phoneNumber;
/**
* 用户昵称
*/
@NotEmpty(message = "{i18n.request.valid.rbac.user-save.nick-name}")
private String nickName;
/**
* 账户状态
*/
@NotNull(message = "{i18n.request.valid.rbac.user-save.account-state}")
private AccountState accountState;
}