cn.authing.sdk.java.dto.GetDepartmentDto 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 GetDepartmentDto {
/**
* 组织 code
*/
@JsonProperty("organizationCode")
private String organizationCode;
/**
* 部门 ID,根部门传 `root`。departmentId 和 departmentCode 必传其一。
*/
@JsonProperty("departmentId")
private String departmentId;
/**
* 部门 code。departmentId 和 departmentCode 必传其一。
*/
@JsonProperty("departmentCode")
private String departmentCode;
/**
* 此次调用中使用的部门 ID 的类型
*/
@JsonProperty("departmentIdType")
private String departmentIdType;
/**
* 是否获取自定义数据
*/
@JsonProperty("withCustomData")
private Boolean withCustomData;
/**
* 是否拍平扩展字段
*/
@JsonProperty("flatCustomData")
private Boolean flatCustomData;
/**
* 租户 ID
*/
@JsonProperty("tenantId")
private String tenantId;
public String getOrganizationCode() {
return organizationCode;
}
public void setOrganizationCode(String organizationCode) {
this.organizationCode = organizationCode;
}
public String getDepartmentId() {
return departmentId;
}
public void setDepartmentId(String departmentId) {
this.departmentId = departmentId;
}
public String getDepartmentCode() {
return departmentCode;
}
public void setDepartmentCode(String departmentCode) {
this.departmentCode = departmentCode;
}
public String getDepartmentIdType() {
return departmentIdType;
}
public void setDepartmentIdType(String departmentIdType) {
this.departmentIdType = departmentIdType;
}
public Boolean getWithCustomData() {
return withCustomData;
}
public void setWithCustomData(Boolean withCustomData) {
this.withCustomData = withCustomData;
}
public Boolean getFlatCustomData() {
return flatCustomData;
}
public void setFlatCustomData(Boolean flatCustomData) {
this.flatCustomData = flatCustomData;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
}