com.didiglobal.logi.security.common.dto.role.RoleAssignDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logi-security-spring-boot-starter Show documentation
Show all versions of logi-security-spring-boot-starter Show documentation
logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)
package com.didiglobal.logi.security.common.dto.role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
/**
* @author cjm
*
* 某角色分配N个用户 活 N角色分配给某用户
*/
@Data
@ApiModel(description = "角色分配信息")
public class RoleAssignDTO {
/**
* 角色id或用户id
*/
@ApiModelProperty(value = "角色id或用户id", dataType = "Integer", required = true)
private Integer id;
/**
* 角色idList 或 用户idList
*/
@ApiModelProperty(value = "角色idList或用户idList", dataType = "List", required = true)
private List idList;
/**
* true:N个角色分配给1个用户
* false:1个角色分配给N个用户
*/
@ApiModelProperty(value = "true:N个角色分配给1个用户、false:1个角色分配给N个用户", dataType = "Boolean", required = true)
private Boolean flag;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy