7조 칠렐레팔렐레

테이블 (5)

냉장고 (refrigerators)

  • ID (refrige_id) — String — 기본 키 — NOT NULL
  • ID (user_id) — String — 외래 키 → 유저.ID — NOT NULL
  • 생성일 (refrige) — Date — NOT NULL

레시피 (recipes)

  • ID (recipe_id) — String — 기본 키 — NOT NULL
  • 이름 (recipe_name) — String — NOT NULL
  • 해시태그 (recipe_hashtag) — String — NOT NULL
  • 재료 (recipe_item) — String — NOT NULL
  • 조리법 (recipe_make) — String — NOT NULL
  • 탄수화물 (recipe_tan) — Int
  • 단백질 (recipe_dan) — Int
  • 지방 (recipe_fat) — Int
  • 나트륨 (recipe_na) — Int
  • 칼로리 (recipe_cal) — Int

리워드 (rewards)

  • 날짜 (reward_date) — Date — NOT NULL
  • 뱃지 (reward_good_job) — String
  • 고기 (reward_ingredient_meat) — Int
  • 채소 (reward_ingredient_vegetable) — Int
  • 해산물 (reward_ingredient_seafood) — Int
  • 유제품 (reward_ingredient_diary) — Int
  • 냉장고 첫 보상 (reward_first_time_freeze) — Boolean — NOT NULL
  • 레시피 첫 보상 (reward_first_time_recipe) — Boolean — NOT NULL

물품 (products)

  • ID (product_id) — String — 기본 키 — NOT NULL
  • ID (refrige_id) — String — 외래 키 → 냉장고.ID — NOT NULL
  • 이름 (product_name) — String — NOT NULL
  • 유통기한 (product_day) — Date — NOT NULL
  • 종류 (product_type) — String — NOT NULL
  • 냉동보관 (product_frozen_storage) — Boolean — NOT NULL
  • 등록 날짜 (product_create_day) — Date — NOT NULL
  • 이미지 (product_image) — String — NOT NULL

유저 (users)

  • ID (user_id) — String — 기본 키 — NOT NULL
  • 이메일 (user_email) — String — NOT NULL
  • 이름 (user_name) — String — NOT NULL
  • 비밀번호 (user_password) — String — NOT NULL
  • 생성일 (user_create_day) — Date — NOT NULL
  • 경험치 (user_xp) — Int — NOT NULL
  • 냉장고 뱃지 (badge_refrigerator) — Date
  • 레시피 뱃지 (badge_recipe) — Date
  • 유제품 뱃지 (badge_milk) — Date
  • 채소 뱃지 (badge_vegetable) — Date
  • 해산물 뱃지 (badge_fish) — Date
  • 출석 뱃지 (badge_attendance) — Date
  • 유통기한 뱃지 (badge_expiration_day) — Date