TTR

테이블 (3)

운동 (exercise)

  • 운동 ID (exercise_id) — Long — 기본 키 — NOT NULL — Auto Increment
  • 운동명 (exercise_name) — VARCHAR(200) — NOT NULL
  • 운동 분류 (exercise_type) — enum — NOT NULL
  • 추천 휴식시간 (recom_breakTime) — INT — NOT NULL

운동 기록 (exercise_record)

  • 운동기록 ID (exercise_record_id) — Long — 기본 키 — NOT NULL — Auto Increment
  • 운동 ID (exercise_id) — Long — 외래 키 → 운동.운동 ID — NOT NULL — Auto Increment
  • 총 운동 시간 (exercise_total_time) — INT — NOT NULL
  • 총 운동 볼륨 (exercise_total_volume) — INT — NOT NULL

운동 세트 (exercise_set)

  • 세트 Id (exercise_set_id) — Long — 기본 키 — NOT NULL — Auto Increment
  • 운동기록 ID (exercise_record_id) — Long — 외래 키 → 운동 기록.운동기록 ID — NOT NULL — Auto Increment
  • 세트 넘버 (exercise_set_number) — INT — NOT NULL
  • 무게 (exercise_set_weight) — INT
  • 횟수 (exercise_set_reps) — INT
  • 시간 (exercise_set_duration) — INT