양궁점수기록앱

테이블 (11)

Banner (배너)

  • unique_id (고유번호) — text — 기본 키 — NOT NULL
  • index (순서) — number
  • image (이미지) — image

Certify (인증테이블)

  • unique_id (고유 번호) — text — 기본 키 — NOT NULL
  • code (코드) — text
  • phone (핸드폰 번호) — text
  • expired_at (만료 시간) — DateTime
  • user (유저) — User — 외래 키 → User.email — NOT NULL

ChangeEquipment (변경장비)

  • unique_id (고유 번호) — text — 기본 키 — NOT NULL
  • equipment_name (변경장비명) — text
  • equipment_type (장비 분류) — EQUIPMENT_TYPE
  • user (유저) — User — 외래 키 → User.email — NOT NULL

Match (경기기록)

  • unique_id (고유 번호) — text — 기본 키 — NOT NULL
  • max_round (총 라운드) — number
  • max_shot (총 샷) — number
  • launch_range (발사거리) — number
  • mistake_count (실수발 횟수) — number
  • user (참가자) — User — 외래 키 → User.email — NOT NULL
  • title (제목) — text
  • match_date_at (경기날짜) — DateTime
  • total_score (총점) — number
  • player_number (참가자 수) — number
  • is_complete (기록완료여부) — boolean

MatchRound (경기 라운드 기록)

  • unique_id (고유 번호) — text — 기본 키 — NOT NULL
  • current_round (현재 라운드) — number
  • round_score (라운드 점수) — number
  • match (경기 기록) — Match — 외래 키 → Match.unique_id — NOT NULL
  • is_complete (기록완료여부) — boolean

MatchRoundShot (경기 샷 기록)

  • uniquer_id (고유번호) — text — 기본 키 — NOT NULL
  • current_shot (현재 샷) — number
  • shot_score (샷 점수) — number
  • is_mistake (실수발 여부) — boolean
  • mistake_direction (실수발 방향) — List<DIRECTION>
  • match_round (라운드) — MatchRound — 외래 키 → MatchRound.unique_id — NOT NULL
  • match (경기) — Match — 외래 키 → Match.unique_id — NOT NULL
  • is_complete (기록완료여부) — boolean

Notice (공지사항)

  • unique_id (고유 번호) — text — 기본 키 — NOT NULL
  • title (공지 제목) — text
  • contents (공지 내용) — text

ProfileIcon (프로필 아이콘)

  • unique_id (고유번호) — text — 기본 키 — NOT NULL
  • icon_image (아이콘 이미지) — image
  • gender_type (성별) — GENDER_TYPE
  • color_type (배경색) — COLOR_TYPE

ReplaceEquipment (교체장비)

  • unique_id (고유 번호) — text — 기본 키 — NOT NULL
  • name (교체장비명) — text
  • re_date_start_at (교체주기시작일) — DateTime
  • re_date_end_at (교체주기마지막일) — DateTime
  • user (유저) — User — 외래 키 → User.email — NOT NULL

Term (약관)

  • unique_id (고유번호) — text — 기본 키 — NOT NULL
  • term_type (약관 동의 유형) — TERM_TYPE
  • contents (약관 내용) — text

User (유저)

  • email (이메일) — text — 기본 키 — NOT NULL
  • password (비밀번호) — text
  • init_password (기준 비밀번호) — text
  • control_password (조작 비밀번호) — text
  • login_type (로그인 타입) — LOGIN_TYPE
  • user_state (유저 상태) — USER_STATE
  • phone (핸드폰 번호) — text
  • name (이름) — text
  • birth_at (생년월일) — DateTime
  • gender_type (성별) — GENDER_TYPE
  • club_type (클럽) — CLUB_TYPE
  • mistake_max (실수발 설정) — number
  • profile_image (프로필 사진) — image
  • user_type (유저 타입) — USER_TYPE
  • equipment (등록된 장비) — ChangeEquipment