textBoard
테이블 (5)
결재 (confirm)
- 서류번호 (id) — int unsigned not null primary key auto_increment — 기본 키 — NOT NULL
- 사원번호 (memberId3) — int unsigned not null primary key auto_increment — 외래 키 → 직원인명부.사원번호 — NOT NULL
- 부서번호 (deptId3) — int unsigned not null primary key auto_increment — 외래 키 → 직원인명부.부서번호
- 근무상태 (stateId) — int unsigned not null primary key auto_increment — 외래 키 → 직원인명부.근무상태 — NOT NULL
- 결재종류 (title) — char(100)
- 희망일자 (date) — char(100)
- 결재사유 (reason) — char(100)
- 사원번호 (memberId) — int unsigned
- 부서번호 (deptId) — int unsigned not null
- 신청날짜 (createdDate) — datetime not null
- 처리날짜 (modifiedDate) — datetime not null
근무상태 (state)
- 상태번호 (stateId) — int unsigned not null primary key auto_increment — 외래 키 → 직원인명부.사원번호 — NOT NULL
- 상태이름 (state) — char(100) not null — 1
- 등록일 (createdDate) — datetime not null
- 수정일 (modifiedDate) — datetime not null
부서정보 (dept)
- 부서번호 (deptId) — int unsigned not null primary key auto_increment — 외래 키 → 직원인명부.사원번호 — NOT NULL
- 부서명 (deptName) — char(100) not null
- 등록일 (createdDate) — datetime not null
- 수정일 (modifiedDate) — datetime not null
직원별 근태 현황 (memberStateList)
- 사원번호 (memberId) — int unsigned not null primary key auto_increment — 외래 키 → 직원인명부.사원번호 — NOT NULL
- 부서번호 (deptId) — int unsigned not null primary key auto_increment — 외래 키 → 직원인명부.부서번호
- 근무상태 (stateId) — int unsigned not null primary key auto_increment — 외래 키 → 직원인명부.근무상태 — NOT NULL
- 사원이름 (memberName) — char(100) not null
- 직급 (memberPosition) — char(100) not null
- 등록일 (createdDate) — datetime not null
- 수정일 (modifiedDate) — datetime not null
직원인명부 (member)
- 사원번호 (memberId) — int unsigned not null primary key auto_increment — 기본 키 — NOT NULL
- 부서번호 (deptId) — int unsigned not null primary key auto_increment — 기본 키
- 근무상태 (stateId) — int unsigned not null primary key auto_increment — 기본 키 — NOT NULL
- 이름 (memberName) — char(100) not null
- 이메일주소 (memberEmail) — char(100) not null
- 생년월일 (memberBirthDate) — char(100) not null
- 등록일 (memberCreatedDate) — datetime not null
- 수정일 (memberModifiedDate) — datetime not null
- 직급 (memberPosition) — char(100) not null
- 아이디 (memberUserId) — char(100) not null
- 비밀번호 (memberPassword) — char(100) not null
- 출근시각 (memberWorkStartTime) — datetime
- 퇴근시각 (memberWorkEndTime) — datetime