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

com.didiglobal.logi.security.common.vo.resource.MByUDataVO 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.resource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author cjm
 */
@Data
@ApiModel(description = "按用户管理/分配资源/数据列表")
public class MByUDataVO {

    @ApiModelProperty(value = "数据id(项目id、资源类别id、资源id)", dataType = "Integer", required = false)
    private Integer id;

    @ApiModelProperty(value = "数据名(项目名、资源类别名、资源名)", dataType = "String", required = false)
    private String name;

    @ApiModelProperty(value = "拥有级别(0 不拥有、1 半拥有、2 全拥有)", dataType = "Integer", required = false)
    private Integer hasLevel;

    public MByUDataVO() {}

    public MByUDataVO(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy