fastfive_study

Tables (11)

BaseEntity (기본 엔티티)

  • created_at — NULL
  • updated_at — NULL
  • is_deleted — NULL

access_card (출입카드)

  • id — NOT NULL — Primary key — NOT NULL
  • 유저ID (user_id) — NOT NULL — Foreign key → user.id — NOT NULL

access_card_log (출입 로그)

  • id — NOT NULL — Foreign key → access_card.id — NOT NULL
  • 유저ID (user_id) — NOT NULL — Foreign key → access_card.유저ID — NOT NULL
  • enterd_in (entered_in) — NULL

booking (예약)

  • id — NOT NULL — Primary key — NOT NULL
  • 지점 ID (branch_id) — NOT NULL — Foreign key → space.소속 지점 — NOT NULL
  • 공간ID (space_id) — NOT NULL — Foreign key → space.id — NOT NULL
  • 유저ID (user_id) — NOT NULL — Foreign key → user.id — NOT NULL
  • 예약 날짜 (reserve_date) — NOT NULL
  • 예약 시작 시간 (reserve_start_time) — NOT NULL
  • 예약 종료 시간 (reserve_end_time) — NOT NULL
  • 회의명 (title) — NULL
  • 회의정보 (description) — NULL
  • 참가인원 (attendees) — NOT NULL

booking_participant (예약 참석자)

  • 예약ID (booking_id) — NOT NULL — Foreign key → booking.id — NOT NULL
  • 유저ID (user_id) — NOT NULL
  • 예약만든사람 (is_organizer) — NOT NULL

branch (지점)

  • id — NOT NULL — Primary key — NOT NULL
  • 지점명 (name) — NOT NULL
  • 주소 (adress) — NOT NULL
  • 우편번호 (postal_code) — NOT NULL
  • 공간 이용 안내 (description) — NULL

group (회사)

  • id — NOT NULL — Primary key — NOT NULL
  • 회사명 (name) — NOT NULL
  • 크레딧 (credit) — NOT NULL

lounge_profile (라운지(커뮤니티) 프로필)

  • id — NOT NULL — Foreign key → user.id — NOT NULL
  • 직무 (role) — NOT NULL
  • 소속 그룹 (group) — NOT NULL
  • 대표 지점 (main_branch) — NOT NULL
  • 닉네임 (nickname) — NOT NULL
  • 소개글 (description) — NULL
  • 프로필사진URL (profile_image_url) — NULL

space (대여공간)

  • id — NOT NULL — Primary key — NOT NULL
  • 소속 지점 (branch_id) — NOT NULL — Foreign key → branch.id — NOT NULL
  • 공간유형 (type) — NOT NULL
  • 공간이름 (name) — NOT NULL
  • 층 위치 (floor) — NOT NULL
  • 사진URL (image_url) — NOT NULL
  • 최대수용인원 (capacity) — NULL
  • 공간크기 (size) — NULL

team (팀)

  • id — NOT NULL — Primary key — NOT NULL
  • id (group_id) — NOT NULL — Foreign key → group.id — NOT NULL
  • 부서명 (name) — NOT NULL

user (사용자)

  • id — NOT NULL — Primary key — NOT NULL
  • 휴재폰번호 (phone_num) — NOT NULL
  • 이름 (name) — NOT NULL
  • 이메일 (email) — NOT NULL
  • 비밀번호 (password) — NOT NULL
  • 생년월일 (birth) — NULL
  • 직무 (role) — NOT NULL
  • 성별 (gender) — NULL
  • 마케팅동의 (is_marketing_agreed) — NOT NULL
  • 출입카드ID (access_card_id) — NOT NULL
  • 소속 그룹 (group) — NOT NULL
  • 프로필사진URL (profile_image_url) — NULL