본격 Groupware DB
테이블 (18)
t_Approval (Untitled6)
- Approval_Id (Key) — Serial — 기본 키 — NOT NULL
- Request_Id (Key2) — Serial — 외래 키 → t_Request.Request_Id — NOT NULL
- Approver (Key3) — Integer — 외래 키 → t_Employee.Employee_Id — NOT NULL — 결재자
- Appoval_Order (Field) — Integer — 결재 순서(1부터 결재)
- Approval_Status (Field2) — character varying(20) — 결재 상태 //Default =Pending
- Approval_Date (Field3) — timestamp without time zone — 결재 날짜
- Comment (Field4) — character varying(200) — 코멘트
t_Attendacne_Records (Untitled4)
- Record_Id (Key) — Serial — 기본 키 — NOT NULL
- Employee_Id (Key2) — Integer — 외래 키 → t_Employee.Employee_Id — NOT NULL — 직원ID
- Date (Field3) — Date — 근무날짜
- Check_In (Field) — timestamp without time zone — 출근
- V_Check_In (Field6) — timestamp without time zone — 실제 보이는 출근 기록
- Check_Out (Field2) — timestamp without time zone — 퇴근
- V_Check_Out (Field7) — timezstamp without time zone — 실제 보이는 퇴근 기록
- Attendance_Status_Id (Key3) — Serial — 외래 키 → t_Attendance_Status.Attendance_Status_Id — NOT NULL — 출퇴근상태
- Work_Status_Id (Key4) — Serial — 외래 키 → t_Work_Status.Work_Status_Id — NOT NULL — 근무상태
- Request_Id (Key5) — Serial — 외래 키 → t_Request.Request_Id — NOT NULL
- Create_at (Field4) — 생성 일시
- Update_at (Field5) — Time — 수정 일시
t_Attendance_Status (Untitled5)
- Attendance_Status_Id (Key) — Serial — 기본 키 — NOT NULL
- Status_Name (Field) — character varying(20) — 출퇴근 상태(1:지각/2:무단결근/3:조기퇴근/4:근무시수 미달)
t_Department (Untitled)
- Department_Id (Key) — Serial — 기본 키 — NOT NULL — 부서 - 전략기획팀, 경영지원팀...
- Department_Name (Field) — character varying(50)
t_Employee (Untitled3)
- Employee_Id (Key) — Integer — 기본 키 — NOT NULL
- Name (Field) — character varying(50) — 이름
- Department_Id (Key2) — Serial — 외래 키 → t_Department.Department_Id — NOT NULL — 부서
- Rank_Id (Key3) — Serial — 외래 키 → t_Rank.Rank_Id — NOT NULL — 직급
- Role (Field4) — character varying(20) — 직책
- Email (Field2) — character varying(100) — 이메일
- Phone (Field3) — character varying(20) — 연락처
- Join_Date (Field5) — Date — 입사 날짜
- Leave_Date (Field6) — Date — 퇴사 날짜
- Work_Type_Id (Key4) — Serial — 외래 키 → t_Work_Type.Work_Type_Id — NOT NULL — 근무 유형
t_Employee_Leave_Balances (Untitled10)
- Balance_Id (Key) — Serial — 기본 키 — NOT NULL
- Employee_Id (Key2) — Integer — 외래 키 → t_Employee.Employee_Id — NOT NULL
- Year (Field) — Integer — 해당연도
- Total_Days (Field2) — Decimal(5,2) — 총 휴가
- Used_Days (Field3) — Decimal(5,2) — 사용 휴가
- Remaining_Days (Field4) — Decimal(5,2) — 남은 휴가
t_Notice (Untitled14)
- Notice_Id (Key) — Serial — 기본 키 — NOT NULL
- Employee_Id (Key2) — Integer — 외래 키 → t_Employee.Employee_Id — NOT NULL — 작성자 *특정 인원만 작성 가능
- Title (Field) — character varting(200) — 제목
- Content (Field2) — Text — 내용
- Create_at (Field3) — time — 작성 일시
- Update_at (Field4) — time — 수정 일시
- Is_Del (Field5) — boolean — 삭제 여부 //Default False
t_Notice_Attachment (Untitled15)
- Attachment_Id (Key) — Serial — 기본 키 — NOT NULL
- Notice_Id (Key2) — Serial — 외래 키 → t_Notice.Notice_Id — NOT NULL
- File_Name (Field) — character varying(255) — 파일 원본 이름
- File_Type (Field2) — character varying(100) — 파일유형
- File_Size (Field3) — Integer — 파일 크기
- Upload_at (Field5) — time — 업로드 일시
- Is_Del (Field6) — Boolean — 삭제 여부
t_Project (Untitled12)
- Project_Id (Key) — Integer — 기본 키 — NOT NULL
- Project_Name (Field) — character varying(100) — 프로젝트 이름
- Client (Field2) — character varying(50) — 고객사
- Contract_Start_Date (Field3) — Date — 계약 시작일
- Contract_End_Date (Field4) — Date — 계약 종료일
- Actual_End_Date (Field10) — Date — 실제 종료일
- Contract_Amount (Field5) — Decimal(15,2) — 계약 금액(원화)
- Man_Months (Field6) — Decimal(10,2) — 맨먼스
- Notes (Field7) — character varying(100) — 비고
- Status (Field8) — character varying(20) — 프로젝트 상태
- Create_at (Field11) — time — 프로젝트 생성 일시
- Update_at (Field12) — time — 프로젝트 수정 일시
- Is_Del (Field9) — Boolean — 삭제 여부 // Default False
t_Project_Attachment (CopyOfUntitled15)
- Attachment_Id (Key) — Serial — 기본 키 — NOT NULL
- Project_Id (Key2) — Integer — 외래 키 → t_Project.Project_Id — NOT NULL
- File_Name (Field) — character varying(255) — 파일 원본 이름
- File_Type (Field2) — character varying(100) — 파일 유형
- File_Size (Field3) — Integer — 파일 크기
- Upload_at (Field5) — time — 업로드 일시
- Is_Del (Field6) — Boolean — 삭제 여부
t_Rank (Untitled2)
- Rank_Id (Key) — Serial — 기본 키 — NOT NULL — 직급 - 소장, 과장, 대리, 주임...
- Rank_Name (Field) — character varying(20)
t_Request
- Request_Id (Key) — Serial — 기본 키 — NOT NULL
- Employee_Id (Key2) — Integer — 외래 키 → t_Employee.Employee_Id — NOT NULL
- Work_Status_Id (Key3) — Serial — 외래 키 → t_Work_Status.Work_Status_Id — NOT NULL
- Start_Date (Field) — timestamp without time zone — 시작 날짜
- End_Date (Field2) — timestamp without time zone — 종료날짜
- Location (Field3) — character varying(50) — 장소 //외근 시 기입
- Reason (Field4) — character varying(200) — 사유
- Request_Date (Field5) — timestamp without time zone — 신청날짜
- Approval_Status (Field6) — character varying(20) — 결재 상태 // Default =Pending
- Request_Type (Field7) — character varying(20) — 신청 유형 (New, Cancellation
- Parent_Request_Id (Field8) — Integer — 취소 신청하는 Request Id
t_Task (Untitled13)
- Task_Id (Key) — Integer — 기본 키 — NOT NULL
- Task_Name (Field) — character varying(50) — 작업내용
t_Weekly_Work_Summary (Untitled7)
- Summary_Id (Key) — Serial — 기본 키 — NOT NULL
- Employee_Id (Key2) — Integer — 외래 키 → t_Employee.Employee_Id — NOT NULL
- Week_Start_Date (Field) — Date — 주의 시작 날짜
- Week_End_Date (Field2) — Date — 주의 종료 날짜
- Weekly_Work_Hour (Field3) — Interval — 주 근로시간
- Total_Work_Hour (Field4) — Interval — 주 누적 근로시간
- Remaining_Hour (Field6) — Interval — 잔여 근로시간
- Overtime_Hour (Field5) — Interval — 연장 근로시간
t_WorkLocation (Untitled9)
- Work_Location_Id (Key) — Serial — 기본 키 — NOT NULL
- Location (Field) — character varying(50) — 근무지 이름
- Ip (Field2) — character varying(50) — 근무지_IP
- GPS (Field3) — character varying(50) — 반경
t_Work_Log (Untitled11)
- Log_Id (Serial) — 기본 키 — NOT NULL
- Employee_Id (Key) — Integer — 외래 키 → t_Employee.Employee_Id — NOT NULL
- Log_Date (Field) — Date — 업무일지 작성 날짜
- Project_Id (Key2) — 외래 키 → t_Project.Project_Id — NOT NULL
- Task_Id (Key3) — 외래 키 → t_Task.Task_Id — NOT NULL
- Work_Detail (Field4) — character varying(200) — 상세내용
- Work_Duration (Field5) — Interval — 업무소요시간
- Effective_Work_Time (Field6) — Inteval — 실제 유효 근무시간
- Status (Field7) — character varying(20) — 승인 상태
t_Work_Status (CopyOfUntitled5)
- Work_Status_Id (Key) — Serial — 기본 키 — NOT NULL
- Status_Name (Field) — character varying(20) — 근무 상태(1:휴가/2:외근/3:출장/4:재택근무)
t_Work_Type (Untitled8)
- Work_Type_Id (Key) — Serial — 기본 키 — NOT NULL
- Type_Name (Field) — character varying(50) — 유형 이름
- Weekly_Work_Time (Field2) — Interval — 주 근로시간
- Working_Day (Field3) — character varying(20) — 근무일
- Daily_Work_Time (Field4) — Interval — 1일 근무시간
- Break_Start_Time1 (Field5) — Time — 휴게 시작 시간1
- Break_End_Time1 (Field6) — Time — 휴게 종료시간 1
- Break_Start_Time2 (Field7) — Time — 휴게 시작 시간2
- Break_End_Time (Field8) — Time — 휴게 종료 시간 2
- Break_Start_Time3 (Field9) — Time — 휴게 시작 시간3
- Break_End Time3 (Field10) — Time — 휴게 종료 시간3
- Check_In_Start (Field11) — Time — 출근 범위(시작)
- Check_In_End (Field12) — Time — 출근 범위(끝)
- Work_Location_Id (Key2) — Serial — 외래 키 → t_WorkLocation.Work_Location_Id — NOT NULL — 근무지
- Created_at (Field13) — Time — 유형 생성 일시
- Updated_at (Field14) — Time — 유형 수정 일시