cn.authing.sdk.java.dto.GetMyDepartmentListDto 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 GetMyDepartmentListDto {
/**
* 当前页数,从 1 开始
*/
@JsonProperty("page")
private Integer page;
/**
* 每页数目,最大不能超过 50,默认为 10
*/
@JsonProperty("limit")
private Integer limit;
/**
* 是否获取部门的自定义数据
*/
@JsonProperty("withCustomData")
private Boolean withCustomData;
/**
* 排序依据,如 部门创建时间、加入部门时间、部门名称、部门标志符
*/
@JsonProperty("sortBy")
private String sortBy;
/**
* 增序或降序
*/
@JsonProperty("orderBy")
private String orderBy;
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;
}
public Boolean getWithCustomData() {
return withCustomData;
}
public void setWithCustomData(Boolean withCustomData) {
this.withCustomData = withCustomData;
}
public String getSortBy() {
return sortBy;
}
public void setSortBy(String sortBy) {
this.sortBy = sortBy;
}
public String getOrderBy() {
return orderBy;
}
public void setOrderBy(String orderBy) {
this.orderBy = orderBy;
}
}