Skip to content

Commit

Permalink
feat: new framework of the specification
Browse files Browse the repository at this point in the history
  • Loading branch information
Guo-Zhang committed Feb 5, 2024
1 parent 88c8e67 commit 70213bf
Show file tree
Hide file tree
Showing 19 changed files with 127 additions and 41 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_build/
.vscode/
.idea/
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
name: quanttide-specification-of-human-resources
title: 量潮人力资源标准
author: 量潮科技
17 changes: 15 additions & 2 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,21 @@ format: jb-book
root: index.md
chapters:
- file: staff/README.md
- file: departments/README.md
- file: commitees/README.md
sections:
- file: staff/employee.md
- file: staff/employer.md
- file: groups/README.md
sections:
- file: groups/group.md
- file: groups/group_relation.md
- file: positions/README.md
- file: ranks/README.md
sections:
- file: ranks/rank.md
- file: duties/README.md
sections:
- file: duties/duty.md
- file: duties/duty_relation.md
- file: bounded_contexts/README.md
sections:
- file: bounded_contexts/iam.md
1 change: 1 addition & 0 deletions bounded_contexts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 上下文边界
7 changes: 7 additions & 0 deletions bounded_contexts/iam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 数字身份领域

领域模型的关联关系:

- 员工`Employee` <- 组织成员`OrgMember`:一对一
- 雇主`Employer` <- 组织所有者`OrgOwner`:一对一
- 员工组`EmployeeGroup` <- 组织成员组`OrgMemberGroup`:一对一
1 change: 0 additions & 1 deletion commitees/README.md

This file was deleted.

1 change: 0 additions & 1 deletion departments/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions duties/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1 @@
# 职责

## 领域模型定义

- `id`
- `number`:
- `title`:
- `description`:
- `type`:

### `PositionDuty`

### `RankDuty`

### `GroupDuty`

## 关联关系

职责可以被视为一个聚合根,它可以包含一些子职责或子任务,这些子职责或子任务可以被视为职责的一部分。
有向无环图或有向树。
19 changes: 19 additions & 0 deletions duties/duty.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 职责

**职责(`Duty`**指的是一个员工或岗位在组织中所承担的任务、义务和责任。这包括他们在工作中需要完成的具体工作内容、所负责的项目或业务领域、以及对组织和团队的贡献。

字段定义如下:

- **ID(`id`)**:用于唯一标识职责的标识符。
- **标题(`title`)**:描述职责的动名词短语。
- **描述(`description`)**:对职责的详细描述,具体说明员工或岗位在组织中承担的任务、义务和责任,包括具体工作内容、所负责的项目或业务领域,以及对组织和团队的贡献。

示例数据如下:

```json
{
"id": 1,
"title": "培训与开发",
"description": "负责组织和实施员工培训计划,包括课程设计、培训资源管理以及员工技能提升。与部门领导协作,确保员工具备所需技能以应对工作挑战。"
}
```
7 changes: 7 additions & 0 deletions duties/duty_relation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 职责关联关系

**职责关联关系(`DutyRelation`)**指的是职责和职责的层次关系。

- **ID(`id`)**:唯一标识符。
- **父职责(`parent`)**
- **子职责(`child`)**
1 change: 1 addition & 0 deletions groups/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 员工组
14 changes: 14 additions & 0 deletions groups/group.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 员工组

**员工组(`EmployeeGroup`)**是员工的集合。

- **ID(`id`)**:系统生成的唯一标识符。
- **标识(`name`)**:用户自定义的标识,租户内唯一,方便计算机程序识别。
- **名称(`verbose_name`)**:用户自定义的名称,方便用户称呼。
- **类型(`type`)**:系统定义的员工组类型。

## 员工组类型

- **部门(`department`)**:指组织内按照功能或业务线划分的部门,如财务部、市场部等。
- **委员会(`committee`)**:指组织内负责特定决策或治理功能的委员会,如人力资源委员会、审计委员会等。
- **项目组(`project_group`)**:指为完成特定项目而组建的团队,团队成员可能来自组织内的不同部门。
10 changes: 10 additions & 0 deletions groups/group_relation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 员工组关联关系

**员工组关联关系(`EmployeeGroup`)**

字段定义如下:

- **ID(`id`)**:系统定义的唯一标识符。
- **父员工组(`parent`)**
- **子员工组(`child`)**

1 change: 1 addition & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 简介
46 changes: 46 additions & 0 deletions ranks/rank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 职级

**职级(`Rank`)**是指在组织、公司或机构中,根据工作性质、责任大小、所需资格和能力等因素,对职位或岗位进行分类的等级制度。职级通常用来表示一个职位在组织中的相对重要性和复杂性。

字段定义如下:

- **ID(`id`)**
- **标识(`name`)**:
- **序列(`category`)**
- **等级(`level`**

示例数据如下:

```json
{
"id": 1,
"name": "T1",
"category": {
"id": 1,
"name": "T",
"verboseName": "技术序列"
},
"level": 1
}
```

## 职级序列

**职级序列(`RankCategory`)**是用户自定义的职级类别。

字段定义如下:

- **ID(`id`)**:系统定义的唯一标识符。
- **标识(`name`)**:用户自定义的标识字段,租户内唯一。
- **名称(`verboseName`)**:用户自定义的名称。
- **父职级序列(`parent`)**:上级职级序列。

示例数据如下:

```json
{
"id": 1,
"name": "T",
"verboseName": "技术序列"
}
```
15 changes: 0 additions & 15 deletions ranks/sequence.md

This file was deleted.

1 change: 1 addition & 0 deletions staff/employee.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 员工
1 change: 1 addition & 0 deletions staff/employer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 雇主
3 changes: 0 additions & 3 deletions staff/group.md

This file was deleted.

0 comments on commit 70213bf

Please sign in to comment.