All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.beanshell.rbac.controller.request.RbacUserUpdateRequest Maven / Gradle / Ivy

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy