MoFit
Tables (9)
Analyze result (체력 진단결과)
- ID — Long — Primary key — NOT NULL
- 회원번호 (user_id) — Long — Foreign key → User.회원번호 — NOT NULL
- 운동타입 (type) — enum
- 1 (Field)
- 2 (Field2)
- 3 (Field3)
- 4 (Field4)
- 5 (Field5)
- 6 (Field6)
- 퍼센트 (percent) — int
- Field7
Detail (운동 방법 설명)
- Key — Primary key — NOT NULL
- 운동ID (exercise_id) — Long — Foreign key → Exercise.ID — NOT NULL
- 종류 (category) — enum
- 설명순서 (sequence) — int
- 설명 (content) — String
Exercise (운동)
- ID (id) — Long — Primary key — NOT NULL
- 운동이름 (exercise_name) — String
- 운동 종류 (type) — enum
- 운동 난이도 (difficulty) — enum
- 한줄소개 (intro) — String
- 사용 장비 (equipment) — enum
- 운동사진 (image) — String
- 운동 부위 (targetArea) — enum
- 주동근 (primaryMuscle) — enum
- 소요시간 (durationSec) — int
- 운동 횟수 (reps) — int
- 반복횟수 (sets) — int
- 휴식시간 (restSec) — int
- 금기 부위 (restrictAreas) — enum
- METs (mets) — float
Exercise list (Untitled)
- ID (id) — Long — Primary key — NOT NULL
- 계획ID (plan_id) — Long — Foreign key → Exercise plan.ID — NOT NULL
- 운동ID (exercise_id) — Long — Foreign key → Exercise.ID — NOT NULL
- 운동순서 (sequence) — int
Exercise plan (운동 계획)
- ID (id) — Long — Primary key — NOT NULL
- 회원번호 (user_id) — Long — Foreign key → User.회원번호 — NOT NULL
- 몇일차 (day) — int
- 진행상황 (progress) — boolean
- 이미지 (image) — String
- 운동주제(?) (title) — String
- 한줄소개 (description) — String
Health (건강정보)
- ID (id) — Long — Primary key — NOT NULL
- 회원번호 (user_id) — Long — Foreign key → User.회원번호 — NOT NULL
- 생년월일 (birth) — String
- 성별 (gender) — enum
- 키 (height) — float
- 체중 (weight) — float
- 운동 경험 (proficiency) — enum
- 운동 장소 (place) — enum
- 운동제한부위 (restrictAreas) — set<enum>
Stamina (체력)
- ID (id) — Long — Primary key — NOT NULL
- 회원번호 (user_id) — Long — Foreign key → User.회원번호 — NOT NULL
- 플랭크 (plank) — int
- 의자 앉았다일어나기 (chairSquat) — int
- 푸쉬업 (pushUp) — int
- Step 테스트 (stepTest) — int
- 몸 앞으로 숙이기 (forwardFold) — int
- 한 발 서기 (balance) — float
User (사용자)
- 회원번호 (user_id) — Long — Primary key — NOT NULL
- 로그인아이디 (login_id) — String
- 이름 (name) — String
- 프로필사진 (picture) — String
- 비밀번호 (password) — String
- 로그인방식 (provider) — String
- 제공아이디 (provider_id) — String
- 유저권한 (user_role) — enum
restricted area list (운동 제한 부위 목록)
- health번호 (health_id) — Long — Foreign key → Health.회원번호 — NOT NULL
- 제한 부위 (area) — enum