top.beanshell.rbac.controller.request.RbacRoleUserGrantRequest 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 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;
}