Skip to content

Commit

Permalink
feat: 定义“职务”和“职务关系”
Browse files Browse the repository at this point in the history
  • Loading branch information
Guo-Zhang committed Feb 7, 2024
1 parent da6d31e commit f9f623f
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ chapters:
- file: organizations/groups/group.md
- file: organizations/groups/group_relation.md
- file: organizations/positions/README.md
sections:
- file: organizations/positions/position.md
- file: organizations/positions/position_relation.md
- file: organizations/ranks/README.md
sections:
- file: organizations/ranks/rank.md
Expand Down
25 changes: 25 additions & 0 deletions organizations/positions/position.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 职务

**职务(`Position`)**是指一个人在组织、公司或机构中担任的特定工作角色或职位。它通常是根据个人的能力、经验和专业知识来确定的,具有一定的职责和权责。职务通常与特定的工作职责、地位、级别和权力等相关联,反映了一个人在组织中的工作地位和职业发展。

字段定义如下:

- **ID(`id`)**:系统定义的唯一标识符
- **创建时间(`createdAt`)**:系统维护的创建时间。
- **更新时间(`updatedAt`)**:系统维护的最新更新时间。
- **标识(`name`)**:用户定义的标识字段,租户内唯一。
- **名称(`verboseName`)**:用户定义的名称。
- **描述(`description`)**:用户定义的描述。

示例数据如下:

```json
{
"id": 1,
"createdAt": "2024-02-05T08:00:00Z",
"updatedAt": "2024-02-05T10:30:00Z",
"name": "manager",
"verboseName": "经理",
"description": "负责管理团队,制定工作计划和目标,监督员工表现,并与其他部门合作达成组织目标。"
}
```
37 changes: 37 additions & 0 deletions organizations/positions/position_relation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 职务关系

职务关系(`PositionRelation`),也称“汇报关系”,是指在组织或团队中,基于职务层级和责任分配而建立的上下级关系。下属向其直接上级汇报工作进展、问题和决策,而上级负责指导、监督和评估下属的工作表现。职务关系反映了组织的层级结构和工作分工,是组织内部权力和责任的重要体现。

字段定义如下:

- **ID(`id`)**:系统维护的唯一标识符。
- **创建时间(`createdAt`)**:系统维护的创建时间。
- **更新时间(`updatedAt`)**:系统维护的最新更新时间。
- **上级职务(`parent`)**:上级职务。
- **下级职务(`child`)**:下级职务。

示例数据如下:

```json
{
"id": 1,
"createdAt": "2024-02-05T08:00:00Z",
"updatedAt": "2024-02-05T10:30:00Z",
"parent": {
"id": 123,
"createdAt": "2024-02-01T09:00:00Z",
"updatedAt": "2024-02-03T11:30:00Z",
"name": "经理",
"verboseName": "经理",
"description": "负责管理团队,制定工作计划和目标,监督员工表现,并与其他部门合作达成组织目标。"
},
"child": {
"id": 456,
"createdAt": "2024-02-02T10:00:00Z",
"updatedAt": "2024-02-04T12:45:00Z",
"name": "主管",
"verboseName": "主管",
"description": "负责部门日常管理,执行上级工作计划,协调部门内部事务,指导员工完成工作任务。"
}
}
```

0 comments on commit f9f623f

Please sign in to comment.