골프의 품격 공유용
테이블 (18)
견적 요청 (estimate)
- PK (id) — int — 기본 키 — NOT NULL
- 유저 고유 아이디 (user_info_id) — int — 외래 키 → 유저 정보.PK — NOT NULL
- 투어일정 (tour_date) — datetime
- 예정 여행 일수 (date_text) — text
- 투어 인원 (member) — int
- 숙박 타입 (accommodation) — int
- 렌트 타입 (rental) — int
- 이름 (name) — text
- 핸드폰 (phone) — text
- 기타 (memo) — text
- 숙박 상태값 ( 0, 요청 1, 답변 완료 , 2, 취소 , 3, 후기 (state) — int
- 답변 (comment) — text
- 예상 가격 (price) — text
- 생성일 (created_at) — datetime
- 요청일 (requested_at) — datetime
- 답변일 (answer_at) — datetime
- 수정일 (updated_at) — datetime
견적 일차별 정보 (estimate_daliy_info)
- PK (id) — int — 기본 키 — NOT NULL
- 견적 고유 아이디 (estimate_id) — int — 외래 키 → 견적 요청.PK — NOT NULL
- 유저 고유 아이디 (user_info_id) — int — 외래 키 → 견적 요청.유저 고유 아이디 — NOT NULL
- 골프장 아이디 (golf_id) — int
- 티업 (tiup) — TEXT
- 생성일 (created_at) — DATE
골프장 정보 (golf_info)
- PK (id) — int — 기본 키 — NOT NULL
- 어드민 PK (admin_info_id) — int — 외래 키 → 관리자 정보.PK — NOT NULL
- 카테고리 PK (category_id) — int — 외래 키 → 카테고리.PK — NOT NULL
- 골프장명 (title) — text
- 지역 (local) — text
- 우편번호ㅓ (zipcode) — text
- 주소 (address) — text
- 상세 주소 (address_detail) — text
- 전화 번호 (phone) — text
- 팩스 번호 (fax) — text
- 편의시설 (convenience) — text
- 홀/파 (hole_par) — text
- 전장 (area) — text
- 홀규모 (hole_size) — text
- 차량 (car) — text
- 상세 일정 (detail) — text
- 숙소 (room) — text
- 식사 (meal) — text
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
- 삭제유무 (delete_yn) — int
골프장 투어 (golf_tour_info)
- PK (id) — int — 기본 키 — NOT NULL
- 연관 아이디 (relate_id) — int
- 골프장명 (title) — text
- 지역 (local) — text
- 우편번호ㅓ (zipcode) — text
- 주소 (address) — text
- 상세 주소 (address_detail) — text
- 전화 번호 (phone) — text
- 팩스 번호 (fax) — text
- 편의시설 (convenience) — text
- 홀/파 (hole_par) — text
- 전장 (area) — text
- 홀규모 (hole_size) — text
- 차량 (car) — text
- 상세 일정 (detail) — text
- 숙소 (room) — text
- 식사 (meal) — text
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
- 삭제유무 (delete_yn) — int
공지사항 (notice)
- PK (id) — int — 기본 키 — NOT NULL
- 공지사항 제목 (title) — text
- 공지사항 내용 (content) — text
- 노출 여부 (show_yn) — int
- 조회수 (view) — int
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
관리자 정보 (admin_info)
- PK (id) — int — 기본 키 — NOT NULL
- 로그인 아이 (login_id) — text
- 로그인 비밀번ㅇ호 (login_pw) — text
- 담당자 이름 (name) — text
- 담당자 휴대폰 (phone) — text
- 여행사 명 (tour_name) — text
- 대표 이름 (boss_name) — text
- 대표 휴대폰 (boss_phone) — text
- 사무실 번호 (tel) — text
- 팩스 번호 (fax) — text
- 회사 이메일 (email) — text
- 예금주 (account_holder) — text
- 입금 은행 (bank) — text
- 입금 계좌 (account) — text
- 권한(1=최고,2=부킹&조인, 3= 투어, 4 = 견적확인) (auth) — int
- 신청일 (created_at) — datetime
- 상태(0= 승인대기, 1= 활동, 2= 탈퇴) (state) — int
- 승인일 (updated_at) — datetime
문의 (inquiry)
- PK (id) — int — 기본 키 — NOT NULL
- 유저 고유 아이디 (user_info_id) — int — 외래 키 → 유저 정보.PK — NOT NULL
- 유저 PK (title) — text
- 공지사항 제목 (content) — text
- 공지사항 답변 (answer) — text
- 답변일 (answer_at) — datetime
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
배너 (banner)
- PK (id) — int — 기본 키 — NOT NULL
- 파일 타입 1: 메인 해더, 2: 메인 바텀 (type) — int
- 전시 여부 (show_yn) — int
- 삭제 여부 (delete_yn) — int
- 시작 시간 (started_at) — datetime
- 종료 시간 (ended_at) — datetime
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
상품 (product_info)
- PK (id) — int — 기본 키 — NOT NULL
- 관리자 PK (admin_info_Id) — int — 외래 키 → 관리자 정보.PK — NOT NULL
- 예약 가능 인원 (member) — int
- 메인 썸네일 (image) — text
- 카테고리 아이디 (category_id) — int
- 예약 타입 1. 부킹 2. 조인 3. 해외투어 4. 국내투어 (type) — int
- 제목 (title) — text
- 내용 (content) — text
- 가격 (price) — int
- 가격 타이틀 (price_title) — text
- 이용 시작 날짜 (started_at) — datetime
- 이용 종료 날짜 (ended_at) — datetime
- 월 ~ 목 가격 (daily_price) — int
- 금요일 가격 (friday_price) — int
- 토요일 가격 (saturday_price) — int
- 일요일 가격 (sunday_price) — int
- 삭제여부 (delete_yn) — int
- 전시여부 (show_yn) — int
- 생성일 (created_at) — datetime
- 결제 타입 String 형태 (pay_type) — text
- 특이사항 메모 (memo) — text
- 회사명 (company) — text
- 담당자 이름 (name) — text
- 담당자 번호 (phone) — text
- 설명 ( 추가 사항 ) (description) — text
- 박 (bak) — text
- 썸네일 이미지 (thumbnail) — text
- 상태( 1: 예약진행중 2:예약완료 3:마감) (status) — int
숙박 정보 (room_info)
- PK (id) — int — 기본 키 — NOT NULL
- 관리자PK (admin_info_id) — int — 외래 키 → 관리자 정보.PK — NOT NULL
- 업체명 (name) — text
- 주소 (address) — text
- 주소 상세 (address_detail) — text
- 우편번호 (zipcode) — text
- 전화 (phone) — text
- 객실정보 (description) — text
- 객실 타입 (room_type) — text
- 추가 정보 (extra_info) — text
- 생성일 (created_at) — datetime
- 삭제유무 (delete_yn) — int
- 수정일 (updated_at) — datetime
숙박 투어 (room_tour_info)
- PK (id) — int — 기본 키 — NOT NULL
- 연관 아이디 (relate_id) — int
- 업체명 (name) — text
- 주소 (address) — text
- 주소 상세 (address_detail) — text
- 우편번호 (zipcode) — text
- 전화 (phone) — text
- 객실정보 (description) — text
- 객실 타입 (room_type) — text
- 추가 정보 (extra_info) — text
- 생성일 (created_at) — datetime
- 삭제유무 (delete_yn) — int
스케쥴 (schedule)
- PK (id) — int — 기본 키 — NOT NULL
- 상품 아이디 (product_info_id) — int — 외래 키 → 상품.PK — NOT NULL
- 투어 정보 아이디 (tour_info_id) — int — 외래 키 → 투어정보.PK — NOT NULL
- 골프 투어 골프장 아이디 (golf_tour_info_id) — int — 외래 키 → 골프장 투어.PK — NOT NULL
- 숙박 투어 아이디 (room_tour_info_id) — int — 외래 키 → 숙박 투어.PK — NOT NULL
- 일차 (day) — text
- 생성일 (created_at) — datetime
예약 후기 (review)
- PK (id) — int — 기본 키 — NOT NULL
- 유저 고유 아이디 (user_info_id) — int — 외래 키 → 유저 정보.PK — NOT NULL
- 예약하기 아이디 (reservation_id) — int — 외래 키 → 예약하기.PK — NOT NULL
- 예약 타입 1. 부킹 2. 조인 3. 해외투어 4. 국내투어 (type) — int
- 연관 아이디 (relate_id) — int
- 별점 (star) — int
- 내용 (content) — text
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
- 삭제유무 (delete_yn) — int
- images
예약하기 (reservation)
- PK (id) — int — 기본 키 — NOT NULL
- 유저 고유 아이디 (user_info_id) — int — 외래 키 → 유저 정보.PK — NOT NULL
- 예약 타입 1. 부킹 2. 조인 3. 해외투어 4. 국내투어 (type) — int
- 연관 아이디 (relate_id) — int
- 인원 수 (member) — int
- 생성일 (created_at) — datetime
- 성별 men , girl (gender) — text
- 상태(1:예약완료, 2:취소신청, 3:취소, 4: 리뷰 작성 완료 상태 ) (status) — int
유저 정보 (user_info)
- PK (id) — int — 기본 키 — NOT NULL
- 유저 아이디 (username) — text
- sns 고유 아이디 (sns_id) — text
- 로그인 타입 1. 카카오 2. 네이버 3. 구글 4. 휴대폰 로그인 (type) — int
- 유저 권한 (role)
- 유저 이름 (name) — text
- 유저 핸드폰 번호 (phone) — text
- 자기소개 (content) — text
- 성별 1. 남자 2. 여자 (gender) — int
- 연령대 여부 (age) — text
- 핸디 여부 (interest_age) — text
- 부킹 알람 여부 (alarm_yn) — int
- 부킹 연락처 공개 알람 (policy_alarm_yn) — int
- 탈퇴 여부 (delete_yn) — int
- 최근 접속일 (login_at) — datetime
- 생성일 (created_at) — datetime
이미지파일 (image_file)
- PK (id) — int — 기본 키 — NOT NULL
- 연관 아이디 (relate_id) — int
- 이미지 타입 (1 상품, 2 숙박 3 골프장 4 리뷰)) (type) — int
- 파일경로 (path) — text
- 원본 파일명 (name) — text
- 생성일 (created_at) — datetime
카테고리 (category)
- PK (id) — int — 기본 키 — NOT NULL
- 상품 이름 (title) — TEXT
- 예약 타입 1. 부킹 2. 조인 3. 해외투어 4. 국내투어 (type) — int
- created_at — datetime
투어정보 (tour_info)
- PK (id) — int — 기본 키 — NOT NULL
- 연관 아이디 (relate_id) — int
- 이름 (title) — text
- 티업 타임 (tee_up) — text
- 자동차 제공 여부 (car) — text
- 룸 정보 (room) — text
- 식사 제공 여부 (meal) — text
- 생성일 (created_at) — datetime