Appearance
部门
实体结构
示例
json
{
"id": 123,
"name": "Department A",
"parentId": 0,
"childrenNum": 5,
"depth": 1,
"seq": 0,
"description": "This is Department A",
"code": "DEPT-A",
"orgCode": "1.DEPT-A.",
"createdUserId": 456,
"createdTime": 1644914071,
"updateTime": 1644914144,
"syncId": "SYNC-123"
}字段说明
| 名称 | 说明 |
|---|---|
id integer(int64) | 部门ID |
name string | 名称 |
parentId integer(int64) | 部门父ID |
childrenNum integer(uint32) | 辖下部门数量 |
depth integer | 当前部门层级 |
seq integer | 排序 |
description string | 描述 |
code string(255) | 编码 |
orgCode string(255) | 内部编码 |
createdUserId integer | 创建用户ID |
createdTime integer(uint32) | 创建时间 |
updateTime integer(uint32) | 最后更新时间 |
syncId string(255) | 同步部门ID |