Timo.gg

테이블 (19)

내 정보 (UserInfo)

  • my_position (포지션 설정) — ENUM — NOT NULL
  • my_style (플레이 스타일) — ENUM — NOT NULL
  • my_status (플레이 상태) — ENUM — NOT NULL
  • my_voice (마이크 유무) — ENUM — NOT NULL

내전 게시판 (Redis - ScrimBoard)

  • boardUUID (내전 게시판 아이디) — UUID — 기본 키 — NOT NULL
  • mapCode (플레이 맵 정보) — ScrimMapCode — NOT NULL
  • memo (한줄소개) — String
  • headCount (팀 인원) — Integer — NOT NULL
  • memberInfo (대표자 상세정보) — CertifiedMemberInfo — NOT NULL
  • memberId (대표자 인덱스 아이디) — Long — NOT NULL
  • matchingCategory (매칭 타입) — MatchingCategory — NOT NULL
  • tier (대표자 티어) — String

내전 마이페이지 (RedisScrimPage)

  • myPageUUID (내전 마이페이지 아이디) — UUID — 기본 키 — NOT NULL
  • mapCode (플레이 맵 정보) — ScrimMapCode — NOT NULL
  • headCount (팀 인원) — Integer — NOT NULL
  • acceptorCertifiedMemberInfo (수신 대표자 상세정보) — CertifiedMemberInfo — NOT NULL
  • requestorCertifiedMemberInfo (요청 대표자 상세정보) — CertifiedMemberInfo — NOT NULL
  • matchingCategory (매칭 타입) — MatchingCategory — NOT NULL
  • acceptorId (수신 대표자 인덱스 아이디) — Long — NOT NULL
  • requestorId (요청 대표자 인덱스 아이디) — Long — NOT NULL

내전페이지 (ScrimPage)

  • chat_room_id (FK) — Long — 외래 키 → 채팅룸.chat_room_id — NOT NULL
  • mapCode (플레이 맵 정보) — ScrimMapCode — NOT NULL
  • acceptorMemberInfo (수신사 대표 상세정보) — CompactMemberInfo — NOT NULL
  • requestorMemberInfo (요청자 대표 상세정보) — CompactMemberInfo — NOT NULL
  • myPage_id (PK) — Long — 외래 키 → 마이페이지.myPage_id — NOT NULL

대학 계정 (CertifiedUnivInfo)

  • certified_univ_email (대학 이메일) — String
  • department (학과 정보) — String

듀오 게시판 (Redis - DuoBoard)

  • boardUUID (듀오 게시판 아이디) — UUID — 기본 키 — NOT NULL
  • mapCode (플레이 맵 정보) — DuoMapCode — NOT NULL
  • memo (한줄소개) — String
  • memberInfo (유저 상세정보) — CertifiedMemberInfo — NOT NULL
  • myPosition (유저 포지션) — PlayPosition — NOT NULL
  • myVoice (유저 마이크) — VoiceChat — NOT NULL
  • myStyle (유저 플레이 셩향) — PlayStyle — NOT NULL
  • myStatus (유저 플레이 상태) — PlayCondition — NOT NULL
  • opponentPositoin (유저가 원하는 상대 포지션) — PlayPosition — NOT NULL
  • opponentStyle (유저가 원하는 상대 플레이 성향) — PlayStyle — NOT NULL
  • memberId (유저 인덱스 아이디) — Long — NOT NULL
  • matchingCategory (매칭 타입) — MatchingCategory — NOT NULL
  • tier (유저 티어) — String — NOT NULL

듀오 마이페이지 (RedisDuoPage)

  • myPageUUID (듀오 마이페이지 아이디) — UUID — 기본 키 — NOT NULL
  • mapCode (플레이 맵 정보) — DuoMapCde — NOT NULL
  • acceptorCertifiedMemberInfo (수신자 상세정보) — CertifiedMemberInfo — NOT NULL
  • acceptorUserInfo (수신사 본인 매칭 옵션) — UserInfo — NOT NULL
  • requestorCertiedMemberInfo (요청자 상세정보) — CertifiedMemberInfo — NOT NULL
  • requestorUserInfo (요청자 본인 매칭 옵션) — UserInfo — NOT NULL
  • matchingCategory (매칭 타입) — MatchingCategory — NOT NULL
  • acceptorId (수신자 인덱스 아이디) — Long — NOT NULL
  • requestorId (요청자 인덱스 아이디) — Long — NOT NULL
  • boardUUID (수신자가 등록한 보드 아이디) — UUID — NOT NULL

듀오페이지 (DuoPage)

  • chat_room_id (FK) — Long — 외래 키 → 채팅룸.chat_room_id — NOT NULL
  • mapCode (플레이 맵 정보) — DuoMapeCode — NOT NULL
  • acceptorUserInfo (수신자 본인 매칭 옵션) — UserInfo — NOT NULL
  • requestorUserInfo (요청자 본인 매칭 옵션) — UserInfo — NOT NULL
  • acceptorMemberInfo (수신자 상세정보) — CompactMemberInfo — NOT NULL
  • requestorMemberInfo (요청자 상세정보) — CompactMemberInfo — NOT NULL
  • myPage_id (PK) — Long — 외래 키 → 마이페이지.myPage_id — NOT NULL

라이엇 계정 (RiotAccount)

  • puuid (소환사 계정 PUUID) — String — NOT NULL
  • account_name (소환사 계정 닉네임) — Stirng — NOT NULL
  • account_tag (소환사 계정 태그) — String — NOT NULL

랭킹 (RankingInfo)

  • rank_id (PK) — Long — 기본 키 — NOT NULL
  • member_account_id (FK) — Long — 외래 키 → 멤버.member_account_id — NOT NULL
  • mbti (mbti 정보) — String
  • position (포지션 정보) — ENUM — NOT NULL
  • gender (성별) — ENUM — NOT NULL
  • memo (자기소개글 메모) — String

마이페이지 (MyPage)

  • myPage_id (PK) — Long — 기본 키 — NOT NULL
  • matchingCategory (듀오, 내전) — MatchingCategory — NOT NULL
  • matchingStatus (매칭 상태) — MatchingStatus — NOT NULL
  • acceptor_id (수신자 인덱스 아이디) — Long — NOT NULL
  • requestor_id (요청자 인덱스 아이디) — Long — NOT NULL
  • createdAt (생성일) — LocalDateTime — NOT NULL

메시지 (Message)

  • message_id (PK) — Long — 기본 키 — NOT NULL
  • last_message_content (마지막 메시지 내용) — String
  • last_message_time (마지막 메시지 시간) — LocalDateTime
  • last_message_sender_id (마지막 메시지 송신자) — Long
  • chat_room_id (FK) — Long — 외래 키 → 채팅룸.chat_room_id — NOT NULL

멤버 (MemberAccount)

  • member_account_id (PK) — Long — 기본 키 — NOT NULL
  • email (이메일) — varchar(250) — NOT NULL
  • username (닉네임) — varchar(250) — NOT NULL
  • riot_account (라이엇 계정 정보) — RiotAccount
  • certified_univ_info (대학교 인증 정보) — CertifiedUnivInfo
  • role (역할) — ENUM — NOT NULL
  • chat_room_id (PK2) — Long — 외래 키 → 채팅룸.chat_room_id — NOT NULL

선호 상대 정보 (DuoInfo)

  • opponent_position (포지션) — Enum
  • opponent_style (플레이 스타일) — Enum

알림 (Notification)

  • noti_id (PK) — Long — 기본 키 — NOT NULL
  • noti_type (알림 타입) — ENUM — NOT NULL
  • noti_message (알림 메시지) — String — NOT NULL
  • is_read (읽음 여부) — boolean — NOT NULL
  • redirect_url (이동 페이지) — String
  • member_account_id (FK) — Long — 외래 키 → 멤버.member_account_id — NOT NULL

채팅룸 (ChatRoom)

  • chat_room_id (PK) — Long — 기본 키 — NOT NULL
  • last_message_content (마지막 메시지 내용) — String
  • last_message_time (마지막 메시지 시간) — LocalDateTime
  • last_message_sender_id (마지막 메시지 송신자) — Long

팀원 상세 정보 (Redis - PartyMemberInfo)

  • puuid (팀원 puuid) — PUUID — 기본 키 — NOT NULL
  • gameName (소환사 이름) — String — NOT NULL
  • tageLine (소환사 태그) — String — NOT NULL
  • myPosition (팀원 포지션) — PlayPosition — NOT NULL
  • role_type (수신/요청 타입)
  • boardUUID (내전 게시판 아이디) — UUID — 외래 키 → 내전 게시판.boardUUID — NOT NULL
  • myPageUUID (내전 마이페이지 아이디) — UUID — 외래 키 → 내전 마이페이지.myPageUUID — NOT NULL

팀원 상세 정보 (PartyMemberInfo)

  • puuid (팀원 puuid) — PUUID — 기본 키 — NOT NULL
  • gameName (소환사 이름) — String — NOT NULL
  • tageLine (소환사 태그) — String — NOT NULL
  • myPosition (팀원 포지션) — PlayPosition — NOT NULL
  • role_type (수신/요청 타입)

평가 (Rating)

  • review_id (PK) — Long — 기본 키 — NOT NULL
  • opponent_attitude (플레이 태도 점수) — ENUM — NOT NULL
  • opponent_conversation (언어 태도 점수) — ENUM — NOT NULL
  • opponent_talent (게임 실력 점수) — ENUM — NOT NULL
  • evaludation_score (평가 점수) — Integer — NOT NULL
  • memo (평가글) — String — NOT NULL
  • reviewr_id (FK) — Long — 외래 키 → 멤버.member_account_id — NOT NULL
  • reviewee_id (FK2) — Long — 외래 키 → 멤버.member_account_id — NOT NULL