public static class UpsertUserDepartmentSortInfo.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
UpsertUserDepartmentSortInfo |
build() |
UpsertUserDepartmentSortInfo.Builder |
departmentId(String departmentId)
部门id
示例值:
|
UpsertUserDepartmentSortInfo.Builder |
isMainDepartment(Boolean isMainDepartment)
是否为用户的主部门(用户只能有一个主部门,且排序权重应最大,不填则默认使用排序第一的部门作为主部门)
示例值:
|
UpsertUserDepartmentSortInfo.Builder |
orderWeightAmongDeparments(String orderWeightAmongDeparments)
用户多个部门间的排序权重
示例值:20
|
UpsertUserDepartmentSortInfo.Builder |
orderWeightInDeparment(String orderWeightInDeparment)
用户在部门内的排序权重
示例值:100
|
public UpsertUserDepartmentSortInfo.Builder departmentId(String departmentId)
示例值:
departmentId - public UpsertUserDepartmentSortInfo.Builder orderWeightInDeparment(String orderWeightInDeparment)
示例值:100
orderWeightInDeparment - public UpsertUserDepartmentSortInfo.Builder orderWeightAmongDeparments(String orderWeightAmongDeparments)
示例值:20
orderWeightAmongDeparments - public UpsertUserDepartmentSortInfo.Builder isMainDepartment(Boolean isMainDepartment)
示例值:
isMainDepartment - public UpsertUserDepartmentSortInfo build()
Copyright © 2026. All rights reserved.