운할

테이블 (3)

계획 (Planner)

  • 계획 아이디 (planner_id) — long — 기본 키 — NOT NULL
  • 운동 시간 (plan_time) — int
  • 운동 날짜 (plan_date) — date
  • 달성 여부 (is_check) — boolean
  • 주차 (week_of_year) — int
  • 수정시간 (update-dt) — datetime
  • 생성시간 (create_dt) — datetime
  • 유저아이디 (user_id) — long — 외래 키 → 유저.유저아이디 — NOT NULL
  • 운동 아이디 (work_id) — long — 외래 키 → 운동.운동 아이디 — NOT NULL

운동 (Workout)

  • 운동 아이디 (work_id) — long — 기본 키 — NOT NULL
  • 운동 이름 (work_name) — varchar(100)
  • 1시간당 소모 칼로리 (work_calorie) — int

유저 (User)

  • 유저아이디 (user_id) — long — 기본 키 — NOT NULL
  • 이름 (user_name) — varchar(100)
  • 이메일 (user_email) — varchar(100)
  • 성별 (user_gender) — char(1)
  • 목표칼로리 (weekly_goal_calorie) — int
  • 프로필이미지 (user_profile) — text
  • 비밀번호 (password) — text