OURFIT
Tables (10)
Enroll_detail_set (개인 운동 횟수)
- Id (운동 횟수 번호) — AUTO_INCREMENT — Primary key — NOT NULL
- Id_Enroll_detail (개인 운동 번호) — Enroll_detail FK — Foreign key → enroll_detail.Id — NOT NULL
- One_weight (첫번째 무게) — Double
- One_reps (첫번째 횟수) — Int
- Two_weight (두번째 무게) — Double
- Two_reps (두번째 횟수) — Int
- Thr_weight (세번째 무게) — Double
- Thr_reps (세번째 횟수) — Int
- Fou_weight (네번째 무게) — Double
- Fou_reps (네번째 횟수) — Int
- Fiv_weight (다섯번째 무게) — Double
- Fiv_reps (다섯번째 횟수) — Int
- Six_weight (여섯번째 무게) — Double
- Six_reps (여섯번째 횟수) — Int
Exercise_Like (Like 등록)
- Id (Like 번호) — AUTO_INCREMENT — Primary key — NOT NULL
- Id_Users (Users 번호) — Users FK — Foreign key → Member.Id — NOT NULL
- Id_Exercise_routine (운동 루틴 번호) — Exercise_routine FK — Foreign key → Exercise_routine.Id — NOT NULL
Exercise_detail (운동 루틴 상세)
- Id (운동 번호) — AUTO_INCREMENT — Primary key — NOT NULL
- Id_Exercise_routine (운동 루틴 번호) — Exercise_routine FK — Foreign key → Exercise_routine.Id — NOT NULL
- Name (운동 이름) — Varchar2(255)
- Day (요일) — Enum
- Order (운동 순서) — Int
Exercise_detail_set (운동 횟수)
- Id (운동 횟수 번호) — AUTO_INCREMENT — Primary key — NOT NULL
- Id_Exercise_detail (운동 번호) — AUTO_INCREMENT — Foreign key → Exercise_detail.Id — NOT NULL
- One_weight (첫번째 무게) — Double
- One_reps (첫번째 횟수) — Int
- Two_weight (두번째 무게) — Double
- Two_reps (두번째 횟수) — Int
- Thr_weight (세번째 무게) — Double
- Thr_reps (세번째 횟수) — Int
- Fou_weight (네번째 무게) — Double
- Fou_reps (네번째 횟수) — Int
- Fiv_weight (다섯번째 무게) — Double
- Fiv_reps (다섯번째 횟수) — Int
- Six_weight (여섯번째 무게) — Double
- Six_reps (여섯번째 횟수) — Int
Exercise_enroll (운동 루틴 등록)
- Id (등록번호) — AUTO_INCREMENT — Primary key — NOT NULL
- Id_Exercise_routine (운동 루틴 고유번호) — Exercise_routine FK — Foreign key → Exercise_routine.Id — NOT NULL
- Id_Users (회원정보 번호) — Users FK — Foreign key → Member.Id — NOT NULL
Exercise_routine (운동 루틴)
- Id (운동 루틴 번호) — AUTO_INCREMENT — Primary key — NOT NULL
- RoutineName (루틴 이름) — Varchar2(255)
- ImgPath (이미지 경로) — Text
- Level (난이도) — Int
- FewTime (주 횟수) — Int
- Period (루틴 기간(일)) — Int
- Category (운동 카테고리) — varchar(255)
Member (회원정보)
- Id (번호) — AUTO_INCREMENT — Primary key — NOT NULL
- Email (이메일) — Varchar(255)
- Password (비번) — Varchar(255) — NOT NULL
- NickName (닉네임) — Varchar(255)
- Gender (성별) — Varchar(7)
- Height (키) — Double — NOT NULL
- Weight (몸무게) — Double
- Squat (스쿼트 측정 기록) — Double
- Benchpress (벤치프레스 측정 기록) — Double
- Deadlift (데드리프트 측정 기록) — Double
- Overheadpress (오버헤드프레스 측정 기록) — Double
Post (게시글)
- Id (게시글 번호) — AUTO_INCREMENT — Primary key — NOT NULL
- Id_nickname (글쓴이 닉네임) — Users FK — Foreign key → Member.Id — NOT NULL
- Title (제목) — Varchar2(255)
- Gender (성별) — Enum
- Content (게시글 내용) — Text
- CreatedAt (작성일자) — Date
- Category (운동 카테고리) — varchar(255)
Post_replys (게시글의 댓글)
- Id (댓글 번호) — AUTO_INCREMENT — Primary key — NOT NULL
- Id_Post (게시글 번호) — Post FK — Foreign key → Post.Id — NOT NULL
- Id_Users (댓글 작성자) — Users FK — Foreign key → Member.Id — NOT NULL
- Content (내용) — Text
- Date (작성일) — Date
enroll_detail (개인 운동 목록)
- Id (개인 운동 번호) — AUTO_INCREMENT — Primary key — NOT NULL
- Id_Exercise_enroll (운동 루틴 등록 번호) — Exercise_enroll FK — Foreign key → Exercise_enroll.Id — NOT NULL
- Id_Exercise_detail (운동 루틴 상세 번호) — Exercise_detail FK — Foreign key → Exercise_detail.Id — NOT NULL
- Complete (운동 완료/실패) — Boolean
- Date (운동 완료 날짜) — Date