해피싸피 ERD

테이블 (7)

report (신고기록)

  • Key (id) — Long — 기본 키 — NOT NULL
  • 신고자 (reported_user) — Long — 외래 키 → user.Key — NOT NULL
  • 피신고자 (accused_user) — Long
  • 신고일시 (reported_time) — LocalDateTime

user (유저)

  • Key (id) — Long — 기본 키 — NOT NULL
  • 아이디 (user_id) — String
  • 비밀번호 (password) — String
  • 닉네임 (nickname) — String
  • 성별 (gender) — String
  • 생년월일 (birthday) — LocalDate
  • 동물상 (animal) — String
  • 매너 (manner) — Float
  • 재미 (humorous) — Float
  • 호감도 (likeability) — Float
  • 동물상 정확도 (animal_accuray) — Float
  • 자기소개 (introduction) — String
  • 자기소개 키워드 1 (introduction_keyword1) — String
  • 자기소개 키워드 2 (introduction_keyword2) — String
  • 자기소개 키워드 3 (introduction_keyword3) — String
  • 자기소개 키워드 4 (introduction_keyword4) — String
  • 자기소개 키워드 5 (introduction_keyword5) — String
  • 정지 (ban) — Boolean

user_friend (유저 친구 정보)

  • Key (id) — Long — 기본 키 — NOT NULL
  • 유저1 (user1) — Long — 외래 키 → user.Key — NOT NULL
  • 유저2 (user2) — Long
  • 친구삭제여부 (delete_friend) — Boolean

user_review (유저 별점 정보)

  • Key (id) — Long — 기본 키 — NOT NULL
  • 평가당한 유저 (user) — Long — 외래 키 → user.Key — NOT NULL
  • 매너 (manner) — Integer
  • 재미 (humorous) — Integer
  • 호감도 (likeability) — Integer
  • 동물상 정확도 (animal_accuracy) — Integer
  • 평가한 유저 (reviewer) — Long

user_video_chat (유저 화상채팅 참가정보)

  • Key (id) — Long — 기본 키 — NOT NULL
  • 유저 (user) — Long — 외래 키 → user.Key — NOT NULL
  • 화상채팅 (video_chat) — Long — 외래 키 → video_chat.Key — NOT NULL

video_chat (화상채팅방)

  • Key (id) — Long — 기본 키 — NOT NULL
  • 시작시간 (chat_start_time) — LocalDateTime
  • 종료시간 (chat_end_time) — LocalDateTime
  • 활성화여부 (active) — Boolean

video_chat_history (화상채팅 이력)

  • Key (id) — Long — 기본 키 — NOT NULL
  • Key (id2) — Long — 외래 키 → user.Key — NOT NULL
  • Key (id3) — Long — 외래 키 → video_chat.Key — NOT NULL
  • 액션 (action) — Integer
  • 생성시간 (inserted_time) — LocalDateTime