Yoonble

Tables (6)

Artmake (시술)

  • 시술ID (id) — int — Primary key — NOT NULL
  • 종류ID (category_id) — int — Foreign key → Category.종류ID — NOT NULL
  • 시술명 (name) — string
  • 시술정가 (original_price) — int
  • 시술판매가 (selling_price) — int
  • 시술안내 (description) — text
  • 시술시간 (duration) — int

Artmake_Reservation (시술_예약)

  • 예약ID (reservation_id) — int — Foreign key → Reservation.예약ID — NOT NULL
  • 시술ID (artmake_id) — int — Foreign key → Artmake.시술ID — NOT NULL
  • 종류ID (category_id) — int — Foreign key → Artmake.종류ID — NOT NULL

Category (시술종류)

  • 종류ID (id) — int — Primary key — NOT NULL
  • 시술명 (name) — string
  • 이미지링크 (img) — string
  • 경로 (path) — string
  • 설명 (desciption) — text

MEMBER (고객)

  • 고객ID (id) — int — Primary key — NOT NULL
  • 고객명 (name) — string
  • 카카오ID (kakao_id) — string
  • 전화번호 (tel) — string
  • 예약횟수 (count) — int
  • 잔흔제거세트완료 (trace_removed) — boolean
  • 참고사항 (memo) — text

Reservation (예약)

  • 예약ID (id) — int — Primary key — NOT NULL
  • 고객ID (member_id) — int — Foreign key → MEMBER.고객ID — NOT NULL
  • 예약일 (date) — string
  • 시작시간 (start_time)
  • 종료시간 (end_time)
  • 예약상태 (status) — enum
  • 총 시술금액 (total_price) — int
  • 예약금 (deposit) — int
  • 참고사항 (memo) — text

Time_Slot (시간대)

  • 시간대ID (id) — int — Primary key — NOT NULL
  • 날짜 (date)
  • 시간 (time)
  • 가능여부 (is_available) — boolean