com.didiglobal.logi.security.common.dto.resource.ResourceDTO 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.resource;
import lombok.Data;
/**
* @author cjm
*
* 集群资源信息
*/
@Data
public class ResourceDTO {
/**
* 资源id(资源id指的是该资源所在服务对该资源的标识)
*/
private Integer resourceId;
/**
* 资源名
*/
private String resourceName;
/**
* 所属项目id
*/
private Integer projectId;
/**
* 所属资源类别id
*/
private Integer resourceTypeId;
public ResourceDTO() {
}
public ResourceDTO(Integer projectId, Integer resourceTypeId, Integer resourceId) {
this.projectId = projectId;
this.resourceTypeId = resourceTypeId;
this.resourceId = resourceId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy