public static class UpsertUserDepartmentSortInfo.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
UpsertUserDepartmentSortInfo |
build() |
UpsertUserDepartmentSortInfo.Builder |
departmentId(String departmentId)
指定员工所在的部门,标识企业内一个唯一的部门,与department_id_type类型保持一致。
|
UpsertUserDepartmentSortInfo.Builder |
isMainDepartment(Boolean isMainDepartment)
是否为用户的主部门(用户只能有一个主部门,且排序权重应最大,不填则默认使用系统默认排序下的第一个部门作为主部门,系统默认排序与部门数组传入顺序无关)
示例值:true
|
UpsertUserDepartmentSortInfo.Builder |
orderWeightAmongDeparments(String orderWeightAmongDeparments)
该部门在用户所属的多个部门间的排序权重。
|
UpsertUserDepartmentSortInfo.Builder |
orderWeightInDeparment(String orderWeightInDeparment)
员工在部门内的排序权重。
|
public UpsertUserDepartmentSortInfo.Builder departmentId(String departmentId)
示例值:eeddjisdwe
departmentId - public UpsertUserDepartmentSortInfo.Builder orderWeightInDeparment(String orderWeightInDeparment)
示例值:100
orderWeightInDeparment - public UpsertUserDepartmentSortInfo.Builder orderWeightAmongDeparments(String orderWeightAmongDeparments)
示例值:20
orderWeightAmongDeparments - public UpsertUserDepartmentSortInfo.Builder isMainDepartment(Boolean isMainDepartment)
示例值:true
isMainDepartment - public UpsertUserDepartmentSortInfo build()
Copyright © 2026. All rights reserved.