Market
Tables (25)
business_hours (영업시간)
- 마켓아이디 (market_id) — String — Foreign key → market.마켓아이디 — NOT NULL
- 월요일 (monday) — time
- 화요일 (tuesday) — time
- 수요일 (wednesday) — time
- 목요일 (thursday) — time
- 금요일 (friday) — time
- 토요일 (saturday) — time
- 일요일 (sunday) — time
- 매일 (everyday) — time
cart (장바구니)
- 장바구니ID (cart_id) — String — Primary key — NOT NULL
- 메뉴아이디 (menu_id) — String — Foreign key → menu.메뉴아이디 — NOT NULL
- 유저아이디 (user_id) — String — Foreign key → user.아이디 — NOT NULL
- 마켓아이디 (market_id) — String — Foreign key → market.마켓아이디 — NOT NULL
- 메뉴가격 (menu_price) — int
- 배달요금 (delivert_fee) — int
- 추가금액 (add_price) — int
- 총주문금액 (total_price) — int
delivery_fee (배달요금)
- 배달요금아이디 (id) — String — Primary key — NOT NULL
- 마켓아이디 (market_id) — String — Foreign key → market.마켓아이디 — NOT NULL
- 주문금액 (order_price) — int
- 배달요금 (delivery_fee) — int
dibs (찜)
- 찜아이디 (id) — String — Primary key — NOT NULL
- 유저아이디 (user_id) — String — Foreign key → user.아이디 — NOT NULL
- 마켓아이디 (market_id) — String — Foreign key → market.마켓아이디 — NOT NULL
- 생성일 (create_date) — Localdate
entrepreneur (사업자)
- 사업자 아이디 (id) — String — Primary key — NOT NULL
- 마켓아이디 (market_id) — String — Foreign key → market.마켓아이디 — NOT NULL
- 상호명 (business_name) — String
- 대표자명 (representative) — String
- 사업자등록번호 (business_license_number) — String
fodd_safety (위생정보)
- 세스코 (cesco) — boolean
- 위생등급 (sanitary_grade) — String or int
- 유효기간시작 (validity_start) — datetime
- 유효기간종료 (validity_end) — datetime
- 위생업체명 (sanitary_company_name) — String
main_category (메인 카테고리)
- 카테고리아이디 (category_id) — String — Primary key — NOT NULL
- 카테고리 (category) — String
market (마켓)
- 마켓아이디 (market_id) — String — Primary key — NOT NULL
- 카테고리아이디 (category_id) — String — Foreign key → main_category.카테고리아이디 — NOT NULL
- name (가게명) — String
- address (주소) — String
- notification (가게알림글) — text
- store_number (가게전화) — String
- is_packing_able (포장가능유무) — boolean
- is_delivery_able (배달가능유무) — boolean
- order_min_amount (최소주문금액) — int
- delivary_min_time (배달최소예상시간) — time
- delivary_max_time (배달최대예상시간) — time
- delevery_price (배달요금) — int
- rating (평점) — decimal(10,5)
- review_count (리뷰 수) — Integer
- dibs_count (찜수) — Integer
- country_of_origin_information (원산지정보) — text
- status (상태) — String
- latitude (위도) — decimal(15,10)
- longitude (경도) — decimal(15,10)
market_photo (마켓 사진)
- id (마켓사진아이디) — String — Primary key — NOT NULL
- market_id (마켓아이디) — String — Foreign key → market.마켓아이디 — NOT NULL
- name (사진명) — String
- extension (확장명) — String
- path (사진경로) — String
market_thumbnail (마켓 썸네일)
- id (아이디) — String — Primary key — NOT NULL
- market_id (마켓아이디) — String — Foreign key → market.마켓아이디 — NOT NULL
- name (사진명) — String
- extension (확장명) — String
- path (사진경로) — String
menu (메뉴)
- 메뉴아이디 (menu_id) — String — Primary key — NOT NULL
- 메뉴카테고리아이디 (menu_category_id) — String — Foreign key → menu_category.메뉴카테고리아이디 — NOT NULL
- 메뉴명 (name) — String
- 메뉴가격 (price) — int
- 메뉴설명 (content) — String
menu_category (메뉴 카테고리)
- 메뉴카테고리아이디 (menu_category_id) — String — Primary key — NOT NULL
- 마켓아이디 (market_id) — String — Foreign key → market.마켓아이디 — NOT NULL
- 메뉴 카테고리 (menu_category) — String
- 메뉴 카테고리 설명 (menu_category_detail) — String
menu_option_category (메뉴 옵션 카테고리)
- 메뉴옵션카테고리ID (menu_option_category_id) — String — Primary key — NOT NULL
- 메뉴아이디 (menu_id) — String — Foreign key → menu.메뉴아이디 — NOT NULL
- 카테고리 (category) — String
- 필수선택 (isRequired) — boolean
- 최대선택개수 (max_choses_count) — int
menu_option_detail (메뉴 상세 옵션)
- 메뉴 카테고리 세부메뉴 아이디 (menu_option_detail_id) — String — Primary key — NOT NULL
- 카테고리아이디 (menu_option_category_id) — String — Foreign key → menu_option_category.메뉴옵션카테고리ID — NOT NULL
- 세부옵션이름 (optionName) — String
- 추가요금 (additional_price) — int
menu_photo (메뉴 사진)
- 아이디 (id) — String — Primary key — NOT NULL
- 메뉴아이디 (menu_id) — String — Foreign key → menu.메뉴아이디 — NOT NULL
- 사진명 (name) — String
- 확장명 (extension) — String
- 사진경로 (path) — String
notification_photo (알림글사진)
- 알림글사진 (id) — String — Primary key — NOT NULL
- 마켓아이디 (market_id) — String — Foreign key → market.마켓아이디 — NOT NULL
- 사진명 (name) — String
- 확장명 (extension) — String
- 사진경로 (path) — String
off_day (휴무일)
- 마켓아이디 (market_id) — String — Foreign key → market.마켓아이디 — NOT NULL
- 요일 (day) — String
- 첫째주, 셋째주 (first_week_and_thrid_week) — boolean
- 둘째주, 넷째주 (second_week_and_fourth_week) — boolean
order (주문)
- 주문아이디 (id) — String — Primary key — NOT NULL
- 유저아이디 (user_id) — String — Foreign key → user.아이디 — NOT NULL
- 마켓아이디 (market_id) — String — Foreign key → market.마켓아이디 — NOT NULL
- 통합가격 (total_price) — int
- 배달팁 (delivery_price) — int
- 가게 요청사항 (request_store) — text
- 배달 요청사항 (request_delivery) — text
- 결제수단 (payment_method) — String
- 생성일 (create_date) — LocalDate
- 주문상태 (status) — String
order_menu (주문 메뉴)
- 주문메뉴ID (id) — String — Primary key — NOT NULL
- 주문아이디 (order_id) — String — Foreign key → order.주문아이디 — NOT NULL
- 메뉴아이디 (menu_id) — String — Foreign key → menu.메뉴아이디 — NOT NULL
- 메뉴가격 (menu_price) — int
- 메뉴수량 (menu_count) — int
order_menu_detail_option (Untitled2)
- 주문메뉴상세옵션ID (order_menu_detail_option_id) — String — Primary key — NOT NULL
- 주문메뉴ID (order_menu_id) — String — Foreign key → order_menu.주문메뉴ID — NOT NULL
- 주문메뉴옵션카테고리 (order_menu_option_category) — String
- 주문메뉴옵션카테고리세부사항 (order_menu_option_category_detail) — String
- 추가금액 (add_price) — int
review (리뷰)
- 리뷰아이디 (review_id) — String — Primary key — NOT NULL
- 메뉴아이디 (menu_id) — String — Foreign key → menu.메뉴아이디 — NOT NULL
- 유저아이디 (user_id) — String — Foreign key → user.아이디 — NOT NULL
- 주문아이디 (id2) — String — Foreign key → order.주문아이디 — NOT NULL
- 리뷰내용 (content) — text
- 별점 (rating) — int
- 생성일 (create_date) — LocalDate
- 수정일 (modified_date) — LocalDate
review_photo (리뷰 사진)
- 리뷰사진아이디 (id) — String — Primary key — NOT NULL
- 리뷰아이디 (review_id) — String — Foreign key → review.리뷰아이디 — NOT NULL
- 주문아이디 (id2) — String — Foreign key → review.주문아이디 — NOT NULL
- name (사진명) — String
- extension (확장명) — String
- path (사진경로) — String
user (유저)
- 아이디 (id) — String — Primary key — NOT NULL
- 유저아이디 (uid) — String
- 비밀번호 (password) — String
- 유저이름 (userName) — String
- 휴대번호 (phoneNumber) — String
- 생성일 (create_date) — LocalDate
- 수정일 (modified_date) — LocalDate
- 상태 (status) — String
user_address (유저 주소)
- 주소아이디 (address_id) — String — Primary key — NOT NULL
- 아이디 (id) — String — Foreign key → user.아이디 — NOT NULL
- 주소 (address) — String
user_photo (유저 사진)
- 유저사진아이디 (id) — String — Primary key — NOT NULL
- 아이디 (user_id) — String — Foreign key → user.아이디 — NOT NULL
- 사진명 (name) — String
- 확장명 (extension) — String
- 사진경로 (path) — String