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

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

The newest version!
package top.beanshell.rbac.controller.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户角色授权请求参数
 * @author binchao
 */
@Data
public class RbacRoleUserGrantRequest implements Serializable {

    /**
     * 角色ID
     */
    @NotNull(message = "{i18n.request.valid.rbac.role-user-grant.role-id}")
    private Long roleId;

    /**
     * 用户ID
     */
    @NotNull(message = "{i18n.request.valid.rbac.role-user-grant.user-id}")
    private Long userId;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy