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

com.didiglobal.logi.security.common.vo.role.RoleVO Maven / Gradle / Ivy

Go to download

logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)

There is a newer version: 2.10.19
Show newest version
package com.didiglobal.logi.security.common.vo.role;

import com.didiglobal.logi.security.common.vo.permission.PermissionTreeVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author cjm
 */
@Data
@ApiModel(description = "角色信息")
public class RoleVO {

    @ApiModelProperty(value = "角色id", dataType = "Integer", required = false)
    private Integer id;

    @ApiModelProperty(value = "角色名", dataType = "String", required = false)
    private String roleName;

    @ApiModelProperty(value = "角色编号", dataType = "String", required = false)
    private String roleCode;

    @ApiModelProperty(value = "角色描述", dataType = "String", required = false)
    private String description;

    @ApiModelProperty(value = "授权用户数(拥有该角色的用户数)", dataType = "String", required = false)
    private Integer authedUserCnt;

    @ApiModelProperty(value = "最后修改者(用户账号)", dataType = "String", required = false)
    private String lastReviser;

    @ApiModelProperty(value = "创建时间(时间戳ms)", dataType = "Long", required = false)
    private Date createTime;

    @ApiModelProperty(value = "创建时间(时间戳ms)", dataType = "Long", required = false)
    private Date updateTime;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "角色拥有的权限(树)", dataType = "PermissionTreeVO", required = false)
    private PermissionTreeVO permissionTreeVO;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy