-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
757c107
commit bf2eacc
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.