CALS_PROJECT
테이블 (4)
사용자 (User)
- 사용자 아이디 (user_id) — Integer — 기본 키 — NOT NULL
- 닉네임 (username) — Char
- 이메일 (email) — Email
- 비밀번호 (password) — Char
- 성별 (gender) — Char
- 나이 (age) — PositiveInteger
- 키 (height) — PositiveInteger
- 몸무게 (weight) — PositiveInteger
- 활동량 (activity) — Char
음식 정보 (SelectedDiet)
- 음식 아이디 (selecteddiet_id) — Integer — 기본 키 — NOT NULL
- 음식 이름 (food_name) — Char
- 음식 칼로리(kcal) (food_calorie) — Float
- 음식 단위(g) (food_gram) — PositiveInteger
음식의 수량 (QuantityMultiple)
- 수량 아이디 (quantity_id) — Integer — 기본 키 — NOT NULL
- 음식 아이디 (selected_diet) — Integer — 외래 키 → 음식 정보.음식 아이디 — NOT NULL
- 식단 아이디 (diet_list) — Integer — 외래 키 → 한 끼 식단.식단 아이디 — NOT NULL
- 음식 수량 (food_quantity) — PositiveInteger
한 끼 식단 (DietList)
- 식단 아이디 (dietlist_id) — Integer — 기본 키 — NOT NULL
- 식사 종류 (meal_category) — Char
- 입력 날짜 (created_date) — Date
- 식사 총 칼로리 (meal_calorie) — Float
- 한줄평 (daily_review) — Text
- 사용자 아이디 (user) — Integer — 외래 키 → 사용자.사용자 아이디 — NOT NULL