coin_funeral_ERP

Tables (3)

contracts

  • idx — int — Primary key — NOT NULL — 계약 고유 인덱스
  • room_idx — int — Foreign key → room.idx — NOT NULL — 빈소 고유 인덱스
  • status — varchar(255) — 계약 상태 (이용중/이용완료/예약중/예약취소)
  • deceased_idx — int — 고인 정보 인덱스
  • customer_id — varchar(255) — 고객 로그인 ID
  • customer_pw — varchar(255) — 고객 로그인 비밀번호 (암호화 필요)
  • date_restin — datetime — 입관 전 안치 시각
  • date_checkin — datetime — 입관 시간
  • date_coffin — datetime — 관 입관 시간
  • date_out — datetime — 발인 시간
  • date_cremation — datetime — 화장 시간
  • grave_location_1 — varchar(255) — 묘지 위치 1차 정보 (시/군/구 등)
  • grave_location_2 — varchar(255) — 묘지 위치 2차 상세 정보 (묘역 등)
  • contractor_name — varchar(255) — 계약자 이름
  • contractor_contact — varchar(255) — 계약자 연락처
  • funeral_aid_company_name — varchar(255) — 장례도우미 소속 업체명
  • funeral_aid_company_cotnact — varchar(255) — 장례도우미 업체 연락처
  • funeral_aid_manager_name — varchar(255) — 장례도우미 담당자 이름
  • funeral_aid_manager_contact — varchar(255) — 장례도우미 담당자 연락처
  • funeral_altar — varchar(255) — 제단 종류
  • funeral_altar_detail — text — 제단 상세 설명
  • funeral_clothes_setting — varchar(255) — 수의 구성 종류 (세트 등)
  • funeral_clothes_setting_detail — text — 수의 세트 상세
  • funeral_clothes_1 — int — 수의 항목 1 수량
  • funeral_clothes_2 — int — 수의 항목 2 수량
  • funeral_clothes_3 — int — 수의 항목 3 수량
  • funeral_clothes_4 — int — 수의 항목 4 수량
  • funeral_clothes_5 — int — 수의 항목 5 수량
  • funeral_clothes_6 — int — 수의 항목 6 수량
  • funeral_clothes_etc — int — 기타 수의 항목 수량
  • funeral_clothes_etc_detail — text — 기타 수의 항목 설명
  • funeral_car — varchar(255) — 이송 차량 종류 (구급차, 리무진 등)
  • funeral_car_detail — text — 이송 차량 상세 설명
  • helper_cnt — int — 도우미 인원 수
  • helper_cost_per_h — int — 도우미 시간당 요금
  • helper_cost_per_d — int — 도우미 1일 요금
  • helper_date_start — datetime — 도우미 시작일시
  • helper_date_end — datetime — 도우미 종료일시
  • special — text — 기타 특이사항
  • room_add_special — text — 빈소에 추가된 특이사항
  • added — timestamp — 계약 등록일시
  • deleted — datetime — 삭제일시 (soft delete)

contracts_room_add_items

  • idx — int — Primary key — NOT NULL — 추가 항목 고유 인덱스
  • contracts_idx — int — 계약 인덱스 (contracts 테이블 참조)
  • item — varchar(255) — 추가 항목명 (예: 접객실 추가, 냉장고 추가 등)
  • detail — text — 세부 내용 설명
  • added — timestamp — 등록 일시
  • deleted — datetime — 삭제 일시 (soft delete)

room

  • idx — int — Primary key — NOT NULL — 빈소 고유 인덱스
  • location_floor — varchar(255) — 빈소 위치/층수
  • title — varchar(255) — 호실명
  • status — varchar(255) — 상태 (사용중/마감중/예약중 등)
  • contract_idx — int — 현재 연결된 계약 인덱스 (nullable)
  • board_id — int — 현황판 ID
  • price_1hour — int — 시간당 이용 금액
  • price_24hour — int — 24시간 이용 금액
  • size — varchar(255) — 빈소 크기
  • has_rest_space — bool — 상주 휴게 공간 여부
  • has_bedroom — bool — 침실 여부
  • has_shower — bool — 샤워실 여부
  • has_reception — bool — 응접실 여부
  • has_kitchen — bool — 주방 여부
  • has_private_toilet — bool — 개인 화장실 여부
  • has_guestroom — bool — 접객실 여부
  • has_funeral_hall — bool — 호상실 여부
  • has_pc — bool — PC 여부
  • fridge_count — int — 냉장고 수량
  • other_info — text — 그 외 추가사항
  • remarks — text — 비고 및 특이사항
  • added — timestamp — 추가일시
  • deleted — datetime — 삭제일시 (soft delete)