com.didiglobal.logi.security.common.dto.role.RoleSaveDTO 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
*/
@Data
@ApiModel(description = "角色添加或更新信息")
public class RoleSaveDTO {
@ApiModelProperty(value = "角色id(更新操作必备)", dataType = "Integer", required = false)
private Integer id;
/**
* 角色名
*/
@ApiModelProperty(value = "角色名", dataType = "String", required = true)
private String roleName;
/**
* 角色描述
*/
@ApiModelProperty(value = "角色描述", dataType = "String", required = true)
private String description;
/**
* 权限idList
*/
@ApiModelProperty(value = "角色拥有的权限idList(角色权限不可为空)", dataType = "String", required = true)
private List permissionIdList;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy