cn.authing.sdk.java.dto.ListRoleDepartmentsDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ListRoleDepartmentsDto {
/**
* 权限分组内角色的唯一标识符
*/
@JsonProperty("code")
private String code;
/**
* 所属权限分组的 code
*/
@JsonProperty("namespace")
private String namespace;
/**
* 当前页数,从 1 开始
*/
@JsonProperty("page")
private Integer page;
/**
* 每页数目,最大不能超过 50,默认为 10
*/
@JsonProperty("limit")
private Integer limit;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getNamespace() {
return namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public Integer getPage() {
return page;
}
public void setPage(Integer page) {
this.page = page;
}
public Integer getLimit() {
return limit;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
}