코아시스템

테이블 (69)

PJT유형 (PJT_type)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • PJT유형코드 (pjt_type_code) — char(30) — NOT NULL
  • PJT유형명 (pjt_type_name) — char(30) — NOT NULL
  • 재료비구성 (material_cost_breakdown) — tinyint(4) — NOT NULL
  • 인건비구성 (labor_cost_breakdown) — tinyint(4) — NOT NULL
  • 경비구성 (expense_breakdown) — tinyint(4) — NOT NULL
  • 납기변경이자구성 (delivery_delay_interest_breakdown) — tinyint(4) — NOT NULL

게시판 (board)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 제목 (title) — char(200) — NOT NULL
  • 작성일 (created_date) — date — NOT NULL
  • 내용 (content) — text

견적 (estimate)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 견적_코드 (estimate_code) — char(30) — NOT NULL
  • 예상기간_시작일 (start_date) — date — NOT NULL
  • 예상기간_종료일 (end_date) — date — NOT NULL
  • 진행사항 (progress) — text
  • 수주가능 (order_availability) — char(30)
  • 가능성 (possibility) — char(30)
  • 금액 (amount) — bigint
  • 상태 (status) — char(30) — NOT NULL

견적_경비_상세 (estimate_operation_cost_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 견적_상세_번호 (estimate_detail_id) — int(11) — 외래 키 → 견적_상세.번호 — NOT NULL
  • 회의비_항목 (meeting_item) — int(11)
  • 여비교통비_항목1 (transportation_item1) — int(11)
  • 여비교통비_항목2 (transportation_item2) — int(11)
  • 여비교통비_항목3 (transportation_item3) — int(11)
  • 금융비용_항목1 (financial _item1) — int(11)
  • 금융비용_항목2 (financial_item2) — int(11)
  • 회의비_금액 (meeting_amount) — bigint
  • 여비교통비_금액 (transportation_amount) — bigint
  • 금융비용_금액 (financial_amount) — bigint
  • 공통경비_금액 (shared_amount) — bigint
  • 휴일수당_금액 (holiday_amount) — bigint

견적_상세 (estimate_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 견적_번호 (estimate_id) — int(11) — 외래 키 → 견적.번호 — NOT NULL
  • 인건비_금액 (labor_cost_amount) — bigint — NOT NULL
  • 경비_금액 (operation_cost_amount) — bigint — NOT NULL
  • 재료비_금액 (material_cost_amount) — bigint — NOT NULL
  • 상태 (status) — char(30) — NOT NULL

견적_인건비_상세 (estimate_labor_cost_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 견적_상세_번호 (estimate_detail_id) — int(11) — 외래 키 → 견적_상세.번호
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • M/M (man_month) — float — NOT NULL
  • 역할 (role) — char(30) — NOT NULL
  • 업무분장 (task) — char(30)
  • 상세 (summary) — char(30)

견적_재료비_상세 (estimate_material_cost_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 견적_상세_번호 (estimate_detail_id) — int(11) — 외래 키 → 견적_상세.번호
  • 대분류 (category) — char(30) — NOT NULL
  • 중분류 (sub_category) — char(30)
  • 단위 (unit) — char(30) — NOT NULL
  • 수량 (quantity) — tinyint(4) — NOT NULL
  • 금액 (amount) — bigint — NOT NULL

견적_파일 (estimate_file)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 견적_번호 (estimate_id) — int(11) — 외래 키 → 견적.번호 — NOT NULL
  • 파일명 (file_name) — text — NOT NULL
  • 경로 (address) — text — NOT NULL

견적품의서 (estimate_approval_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 견적_상세_번호 (estimate_detail_id) — int(11) — 외래 키 → 견적_상세.번호 — NOT NULL

결재_문서 (approval_document)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 문서_유형_번호 (document_type) — int(11) — 외래 키 → 문서_유형.번호 — NOT NULL
  • 기안_코드 (document_code) — char(30) — NOT NULL
  • 기안일 (created_at) — date — NOT NULL
  • 의견 (comment) — text
  • 상태 (status) — char(30) — NOT NULL — 진행중, 임시저장, 반려, 완료

결재_파일 (approval_file)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 파일명 (file_name) — char(200) — NOT NULL
  • 경로 (address) — text — NOT NULL

결재라인 (approval_line)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 문서_유형_번호 (document_type_id) — int(11) — 외래 키 → 문서_유형.번호 — NOT NULL
  • 기안자_조건 (requester_condition) — char(30) — NOT NULL
  • 결재단계 (approval_step) — tinyint — NOT NULL
  • 결재권자_직책 (approver_position) — char(30) — NOT NULL

결재자 (approver)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 결재단계 (approval_step) — tinyint — NOT NULL
  • 상태 (status) — char(30) — NOT NULL
  • 의견 (comment) — text
  • 처리일 (action_date) — date — NOT NULL

경비유형 (operating_cost_type)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 회의비 (meeting_cost) — int(11) — NOT NULL
  • 여비교통비 (travel_cost) — bigint — NOT NULL
  • 금융비용 (finance_cost) — int(11) — NOT NULL
  • 등록일 (created_at) — date — NOT NULL

경비지출서 (expense_claim_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 사유 (remark) — text

경비지출서_상세 (expense_claim_form_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 경비지출서_번호 (expense_claim_form_id) — int(11) — 외래 키 → 경비지출서.번호 — NOT NULL
  • 구분 (type) — char(30) — NOT NULL
  • 지출일자 (claim_date) — date — NOT NULL
  • 결재방식 (expense_method) — char(30) — NOT NULL
  • 지출액 (amount) — bigint — NOT NULL

계약 (contract)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 견적_번호 (estimate_id) — int(11) — 외래 키 → 견적.번호
  • 실행_번호 (execution) — int(11) — 외래 키 → 실행.번호 — NOT NULL
  • 계약기간_시작일 (start_date) — date — NOT NULL
  • 계약기간_종료일 (end_date) — date — NOT NULL
  • 금액 (amount) — bigint — NOT NULL

계약업체 (contractor)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 구분 (classification) — char(30) — NOT NULL
  • 계약업체_코드 (code) — BIGINT — NOT NULL
  • 계약업체명 (contractor_name) — char(30) — NOT NULL
  • 대표자명 (boss_name) — char(30)
  • 전화번호 (phone) — char(15)
  • FAX (fax) — char(15)
  • 주소 (address) — char(30)

공통자료 (common_category)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 부모_번호 (parent_id) — int(11) — 외래 키 → 공통자료.번호 — NOT NULL
  • 분류명 (category_name) — char(30) — NOT NULL
  • 계층 (level) — tinyint(4) — NOT NULL

교육_동행인 (training_form_companion)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 교육신청서_번호 (training_form) — int(11) — 외래 키 → 교육신청서.번호 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL

교육신청서 (training_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 차량번호 (car_number) — char(30) — NOT NULL
  • 교육시작일 (start_date) — date — NOT NULL
  • 교육종료일 (end_date) — date — NOT NULL
  • 장소 (place) — text — NOT NULL
  • 목적 (purpose) — text — NOT NULL

구매요청 (purchase_request)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 계약업체_번호 (contractor_id) — int(11) — 외래 키 → 계약업체.번호 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 구매요청서_코드 (purchase_request_code) — char(30) — NOT NULL
  • 납기일 (due_date) — date
  • 등록일 (created_at) — date — NOT NULL
  • 상태 (status) — char(30) — NOT NULL

구매요청_항목 (purchase_request_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 구매요청서_번호 (purchase_request_id) — int(11) — 외래 키 → 구매요청.번호 — NOT NULL
  • 대분류 (category) — char(30) — NOT NULL
  • 중분류 (sub_category) — char(30)
  • 품명 (item_name) — char(30) — NOT NULL
  • 실행예산금액 (approved_budget_amount) — bigint — NOT NULL
  • 견적금액 (quotation_amount) — bigint — NOT NULL
  • 구매요청금액 (requested_purchase_amount) — bigint — NOT NULL
  • 상태 (status) — char(30) — NOT NULL

구매요청서 (purchase_request_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 구매요청_번호 (purchase_request_id) — int(11) — 외래 키 → 구매요청.번호 — NOT NULL
  • 특이사항 (remark) — text

그룹 (group)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 그룹명 (group_name) — char(30) — NOT NULL
  • 사용여부 (is_used) — tinyint(4) — NOT NULL

그룹웨어_파일 (groupware_file)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 계시판_번호 (board_id) — int(11) — 외래 키 → 게시판.번호
  • 자료실_번호 (resource_id) — int(11)
  • 파일명 (file_name) — char(200) — NOT NULL
  • 경로 (address) — char(200) — 외래 키 → 자료실.번호 — NOT NULL

근태_이력 (attendance_history)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 구분 (type) — char(30) — NOT NULL
  • 시작일 (start_date) — date — NOT NULL
  • 종료일 (end_date) — date — NOT NULL
  • 사유 (remark) — text — NOT NULL
  • 등록일 (created_at) — date — NOT NULL
  • 승인일 (approved_date) — date — NOT NULL

근태_현황 (attendance)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 연차총개수 (annual_leave_entitlement) — int(11) — NOT NULL
  • 사용개수 (used_day) — int(11) — NOT NULL

문서_유형 (document_type)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 문서_유형명 (document_type_name) — char(30) — NOT NULL

발주 (purchase_order)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 계약업체_번호 (contractor_id) — int(11) — 외래 키 → 계약업체.번호 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 발주명 (purchase_order) — char(30)
  • 납기일 (due_date) — date — NOT NULL
  • 발주일 (purchase_date) — date — NOT NULL
  • 결제조건 (payment_term) — char(30) — NOT NULL
  • 실행예산금액 (approved_budeget_amount) — bigint — NOT NULL
  • 견적금액 (quoatation_amount) — bigint — NOT NULL
  • 구매요청금액 (requested_purchase_amount) — bigint — NOT NULL
  • 산재보험여부 (insurance) — bool — NOT NULL
  • 검사성적서 (inspection_report) — bool — NOT NULL
  • 선급금증권 (advance_payment_bond) — bool — NOT NULL
  • 계약증권 (performance_bond) — bool — NOT NULL
  • 하자증권 (warranty_bond) — bool — NOT NULL
  • 등록일 (created_at) — date — NOT NULL
  • 상태 (status) — char(30) — NOT NULL

발주_항목 (purchase_order_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 발주서_번호 (purchase_order_id) — int(11) — 외래 키 → 발주.번호 — NOT NULL
  • 대분류 (category) — char(30) — NOT NULL
  • 중분류 (sub_category) — char(30)
  • 품명 (item_name) — char(30) — NOT NULL
  • 수량 (quantity) — int(11) — NOT NULL
  • 단위 (unit) — char(30) — NOT NULL
  • 단가 (unit_price) — bigint — NOT NULL
  • 참고사항 (note) — char(30)
  • 비고 (remark) — char(30)

발주서 (purchase_order_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 발주_번호 (purchase_order_id) — int(11) — 외래 키 → 발주.번호 — NOT NULL

보전수당_대상자 (compensation_allowance_form_recipient)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 보전수당신청서_번호 (compensation_allowance_form_id) — int(11) — 외래 키 → 보전수당신청서.번호 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 근무시간 (work_hour) — int(11) — NOT NULL
  • 비고 (remark) — text

보전수당_상세 (compensation_allowance_form_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 보전수당신청서_번호 (compensation_allowance_form_id) — int(11) — 외래 키 → 보전수당신청서.번호 — NOT NULL
  • 내용 (description) — text — NOT NULL

보전수당신청서 (compensation_allowance_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 근무일자 (work_date) — date — NOT NULL
  • 근무장소 (work_place) — char(30) — NOT NULL

복리후생비 (welfare_expense_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 내용 (remark) — text — NOT NULL
  • 일시 (date) — date — NOT NULL
  • 장소 (place) — text

부서 (department)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 부서명 (department_name) — char(30) — NOT NULL

사용이력 (login_history)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 접속일시 (login_date) — date — NOT NULL
  • ip (login_ip) — char(30) — NOT NULL
  • 접속위치 (login_location) — char(30)
  • 성공여부 (success_login) — tinyint(4) — NOT NULL

사용자 (user)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 부서_번호 (department_id) — int(11) — 외래 키 → 부서.번호 — NOT NULL
  • 그룹_번호 (group_id) — int(11) — 외래 키 → 그룹.번호 — NOT NULL
  • 직급_번호 (position_id) — int(11) — 외래 키 → 직급.번호 — NOT NULL
  • 사용자ID (user_id) — char(30) — NOT NULL
  • 비밀번호 (password) — char(64) — NOT NULL
  • 사용자명 (user_name) — char(50) — NOT NULL
  • 이메일 (email) — char(255)
  • 휴대전화 (phone) — char(15)
  • 사용여부 (is_used) — tinyint(4) — NOT NULL
  • 입사일 (hire_date) — date — NOT NULL

실사_경비 (real_operation_cost)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 완료_번호 (execution_completion_id) — int(11) — 외래 키 → 완료.번호 — NOT NULL
  • 구분 (type) — char(30) — NOT NULL
  • 지출일자 (claim_date) — date — NOT NULL
  • 지출액 (amount) — bigint — NOT NULL

실사_인건비 (real_labor_cost)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 완료_번호 (execution_completion_id) — int(11) — 외래 키 → 완료.번호 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 업무시간 (work_hour) — int(11) — NOT NULL

실사_재료비 (real_material_cost)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 완료_번호 (execution_completion_id) — int(11) — 외래 키 → 완료.번호 — NOT NULL
  • 대분류 (category) — char(30) — NOT NULL
  • 중분류 (sub_category) — char(30)
  • 단위 (unit) — char(30) — NOT NULL
  • 수량 (quantity) — tinyint(4) — NOT NULL
  • 금액 (amount) — bigint — NOT NULL

실행 (execution)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 금액 (amount) — bigint
  • 상태 (status) — char(30) — NOT NULL

실행_경비_상세 (execution_operation_cost_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 실행_상세_번호 (execution_detail_id) — int(11) — 외래 키 → 실행_상세.번호 — NOT NULL
  • 회의비_항목 (meeting_item) — int(11)
  • 여비교통비_항목1 (transportation_item1) — int(11)
  • 여비교통비_항목2 (transportation_item2) — int(11)
  • 여비교통비_항목3 (transportation_item3) — int(11)
  • 금융비용_항목1 (financial _item1) — int(11)
  • 금융비용_항목2 (financial_item2) — int(11)
  • 회의비_금액 (meeting_amount) — bigint
  • 여비교통비_금액 (transportation_amount) — bigint
  • 금융비용_금액 (financial_amount) — bigint
  • 공통경비_금액 (shared_amount) — bigint
  • 휴일수당_금액 (holiday_amount) — bigint

실행_상세 (execution_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 실행_번호 (execution_id) — int(11) — 외래 키 → 실행.번호 — NOT NULL
  • 실행변경여부 (execution_update) — bool — NOT NULL
  • 인건비_금액 (labor_cost_amount) — bigint — NOT NULL
  • 경비_금액 (operation_cost_amount) — bigint — NOT NULL
  • 재료비_금액 (material_cost_amount) — bigint — NOT NULL
  • 상태 (status) — char(30) — NOT NULL

실행_인건비_상세 (execution_labor_cost_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 실행_상셰_번호 (execution_detail_id) — int(11) — 외래 키 → 실행_상세.번호 — NOT NULL
  • M/M (man_month) — float — NOT NULL
  • 역할 (role) — char(30) — NOT NULL
  • 업무분장 (task) — char(30)
  • 상세 (summary) — char(30)

실행_재료비_상세 (execution_material_cost_detail)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 실행_상세_번호 (execution_detail_id) — int(11) — 외래 키 → 실행_상세.번호 — NOT NULL
  • 대분류 (category) — char(30) — NOT NULL
  • 중분류 (sub_category) — char(30)
  • 단위 (unit) — char(30) — NOT NULL
  • 수량 (quantity) — tinyint(4) — NOT NULL
  • 금액 (amount) — bigint — NOT NULL

실행_파일 (execution_file)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 실행_번호 (execution_id) — int(11) — 외래 키 → 실행.번호 — NOT NULL
  • 파일명 (file_name) — text — NOT NULL
  • 경로 (address) — text — NOT NULL

실행변경품의서 (execution_change_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 실행_상세_번호 (execution_detail_id) — int(11) — 외래 키 → 실행_상세.번호 — NOT NULL

실행품의서 (execution_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 실행_상세_번호 (execution_detail_id) — int(11) — 외래 키 → 실행_상세.번호 — NOT NULL

업무일지 (work_log)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 업무일 (work_date) — date — NOT NULL
  • 업무시간 (total_work_hour) — tinyint — NOT NULL

업무일지_공통 (work_log_common)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 업무일지_번호 (work_log_id) — int(11) — 외래 키 → 업무일지.번호 — NOT NULL
  • 영업및견적_오전 (AM_quoatation) — bool
  • 영업및견적_오후 (PM_quoatation) — bool
  • as업무_오전 (AM_as) — bool
  • as업무_오후 (PM_as) — bool
  • 프로젝트지원_오전 (AM_project_support) — bool
  • 프로젝트지원_오후 (PM_project_support) — bool
  • 교육_오전 (AM_training) — bool
  • 교육_오후 (PM_training) — bool
  • 휴가_오전 (AM_vacation) — bool
  • 휴가_오후 (PM_vacation) — bool
  • 출장_오전 (AM_business_trip) — bool
  • 출장_오후 (PM_business_trip) — bool

업무일지_프로젝트 (work_log_pjt)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 업무일지_번호 (work_log_id) — int(11) — 외래 키 → 업무일지.번호 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 오전업무 (AM_work) — bool
  • 오후업무 (PM_work) — bool
  • 승인자 (approver_id) — int(11)
  • 상태 (status) — char(30) — NOT NULL

완료 (execution_completion)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 인건비_금액 (labor_cost_amount) — bigint — NOT NULL
  • 경비_금액 (operation_cost_amount) — bigint — NOT NULL
  • 재료비_금액 (material_cost_amount) — bigint — NOT NULL
  • 상태 (status) — char(30) — NOT NULL

완료품의서 (execution_completion_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 완료_번호 (execution_completion_id) — int(11) — 외래 키 → 완료.번호 — NOT NULL

원자재_품목 (raw_material_Item)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 품목명 (item_name) — char(30) — NOT NULL
  • 규격 (spec) — char(30) — NOT NULL
  • 단위 (unit) — char(30) — NOT NULL

인건비유형 (labor_cost_type)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 직급_번호 (position_id) — int(11) — 외래 키 → 직급.번호 — NOT NULL
  • M/M인건비 (base_amount) — BIGINT — NOT NULL
  • 휴일수당 (holiday_amount) — BIGINT — NOT NULL

자료실 (resource)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 제목 (title) — char(200 — NOT NULL
  • 작성일 (created_date) — date — NOT NULL
  • 내용 (content) — text

재고_이력 (stock_history)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 원자재_품목_번호 (raw_material_item_id) — int(11) — 외래 키 → 원자재_품목.번호 — NOT NULL
  • 변동_유형 (change_type) — char(30) — NOT NULL — initial, in, out, adjustment
  • 변동일 (change_date) — date — NOT NULL
  • 기존수량 (previous_quantity) — int(11) — NOT NULL
  • 변경수량 (change_quantity) — int(11) — NOT NULL
  • 단가 (unit_price) — bigint — NOT NULL

재고_입출고 (stock_in_out)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 원자재_품목_번호 (raw_material_item_id) — int(11) — 외래 키 → 원자재_품목.번호 — NOT NULL
  • 입출고 (stock_in_out) — char(30) — NOT NULL
  • 등록일 (created_at) — date — NOT NULL
  • 바코드 (barcode) — text — NOT NULL
  • 수량 (quantity) — int(11) — NOT NULL
  • 단가 (unit_price) — bigint — NOT NULL
  • 공급사 (supplier) — char(30)
  • 비고 (remark) — char(30)

재고_조정 (stock_adjustment)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 원자재_품목_번호 (raw_material_item_id) — int(11) — 외래 키 → 원자재_품목.번호 — NOT NULL
  • 등록자 (created_by) — char(30) — NOT NULL
  • 조정수량 (adjusted_quantity) — int(11) — NOT NULL
  • 재고_조정일 (adjustment_date) — date — NOT NULL

재고_현황 (stock_inventory)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 원자재_품목_번호 (raw_material_item_id) — int(11) — 외래 키 → 원자재_품목.번호 — NOT NULL
  • 수량 (quantity) — int(11) — NOT NULL
  • 변경일 (last_updated_date) — date — NOT NULL

직급 (position)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 직급명 (position_name) — char(30) — NOT NULL

참조자 (observer)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL
  • 참조단계 (observe_step) — tinyint — NOT NULL

출장_동행인 (business_trip_form_companion)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 출장신청서_번호 (business_trip_id) — int(11) — 외래 키 → 출장신청서.번호 — NOT NULL
  • 사용자_번호 (user_id) — int(11) — 외래 키 → 사용자.번호 — NOT NULL

출장신청서 (business_trip_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • pjt_번호 (pjt_id) — int(11) — 외래 키 → 프로젝트.번호 — NOT NULL
  • 차량번호 (car_number) — char(30) — NOT NULL
  • 출장시작일 (start_date) — date — NOT NULL
  • 출장종료일 (end_date) — date — NOT NULL
  • 장소 (place) — text — NOT NULL
  • 목적 (purpose) — text — NOT NULL

카테고리 (category)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 부모_번호 (parent_id) — int(11) — 외래 키 → 카테고리.번호 — NOT NULL
  • 카테고리명 (category_name) — char(30) — NOT NULL
  • 계층 (level) — tinyint(4) — NOT NULL

프로젝트 (pjt)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • PJT유형_번호 (pjt_type_id) — int(11) — 외래 키 → PJT유형.번호 — NOT NULL
  • 계약업체_번호 (contractor_id) — int(11) — 외래 키 → 계약업체.번호 — NOT NULL
  • 영업담당자 (contract_manager_id) — int(11) — 외래 키 → 사용자.번호
  • PM (project_manager_id) — int(11) — 외래 키 → 사용자.번호
  • PJT_코드 (pjt_code) — char(30) — NOT NULL
  • 사업실 (business_division) — char(30) — NOT NULL
  • PJT명 (pjt_name) — char(30) — NOT NULL
  • PJT개요 (pjt_summary) — char(30) — NOT NULL

휴가신청서 (vacation_form)

  • 번호 (id) — int(11) — 기본 키 — NOT NULL
  • 결재_문서_번호 (approval_document_id) — int(11) — 외래 키 → 결재_문서.번호 — NOT NULL
  • 구분 (vacation_type) — char(30) — NOT NULL
  • 휴가시작일 (start_date) — date — NOT NULL
  • 휴가종료일 (end_date) — date — NOT NULL
  • 사유 (remark) — text