Skip to content

Commit

Permalink
Docs: 인사 관리 기능 명세서 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinheekim committed Mar 26, 2024
1 parent 757c107 commit bf2eacc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions project_functions/staff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 인사 관리 기능



### 급여 관리 및 근태 관리

---

* 'employees' 테이블에는 해당 사원의 정보들이 입력됩니다. 이는 임시로 테이블을 만든 것으로 이미 존재하는 'user'테이블을 사용하여 관리하는 방도도 고민중입니다. 만약 'user'테이블을 사용하면 사원 정보 관리를 위한 데이터 구조를 간소화할 수 있다는 장점이 있습니다.

* 각 사원은 여러 개의 근무 스케줄을 가질 수 있습니다. 따라서 'employees'와 'schedules' 사이에는 1:N 관계가 형성됩니다.

* 급여 정보는 'salaries' 테이블에 저장됩니다. 이 테이블에는 급여 지급 날짜, 직급 ID, 직급 이름, 그리고 직급에 따른 시급 등의 속성이 포함됩니다. 'salary_id'는 auto increment 속성을 가진 기본키로 설정되어, 각 직급에 따른 정보들을 고유하게 식별합니다. 또한, 'salaries' 테이블의 'salary_id'는 'employees' 테이블에서 외래키로 참조되어, 각 사원의 급여 정보를 연결합니다.

![Alt text](<스크린샷 2024-03-27 012302.png>)

> 🎯 각 테이블의 필드는 추가될 수 있음
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bf2eacc

Please sign in to comment.