JMF

Tables (12)

Box (박스)

  • 박스 ID (id) — Integer — Primary key — NOT NULL
  • 박스명 (name) — String
  • 이미지 (image) — String
  • 가격 (price) — Integer
  • 중량 (weight) — Integer
  • 설명 (description) — String
  • 내용 (content) — String

FeedPost (피드)

  • 아이디 (id) — Integer — Primary key — NOT NULL
  • url — String
  • 제목 (title) — String
  • 이미지 (image) — String
  • 본문 (content) — String
  • 타입 (type) — String
  • 설명 (description) — String

Fruit (과일)

  • 아이디 (id) — Integer — Primary key — NOT NULL
  • 코드 (if_id) — String
  • 종류 (variety) — String
  • 효능 (efficacy) — String
  • 시즌 (season) — String
  • 보관방법 (storage_method) — String
  • 고르는법 (selection_method) — String
  • 영유아 (infant) — Boolean
  • 애완동물 (pet) — Boolean
  • 영양성분 (Field)
  • 이미지 (image) — File

Order (주문)

  • 주문 ID (id) — Integer — Primary key — NOT NULL
  • 사용자 (user) — User
  • 상품 (product) — Product
  • 구독여부 (is_sub) — Boolean
  • 구독 (subscription) — Subscription
  • 배송지 (delivery) — String

Original (원물)

  • 원물 ID (id) — Integer — Primary key — NOT NULL
  • 가격 (price) — Integer
  • 과일 (fruit) — Fruit
  • 이름 (name) — String
  • 단위 (unit) — Float
  • 최소단위 (min_unit) — Float
  • 원물코드 (code) — String

Payment (결제)

  • 결제 ID (id) — Integer — Primary key — NOT NULL
  • 금액 (price) — Integer
  • Field3

Product (상품)

  • 상품 ID (id) — Integer — Primary key — NOT NULL
  • 상품명 (name) — String
  • 과일코드 (if_id) — String
  • 이미지 (image) — String
  • 가격 (price) — Integer
  • 중량 (weight) — Integer
  • 설명 (description) — String
  • 내용 (content) — String

Subscription (구독)

  • 구독 ID (id) — Integer — Primary key — NOT NULL
  • 박스 (box) — Box
  • 사용자 (user) — User
  • 배송지 (delivery) — String

Survey (설문조사)

  • 아이디 (id) — Integer — Primary key — NOT NULL
  • 이름 (name) — String
  • 성별 (sex) — Char
  • 생년월일 (birthdate) — String
  • 키 (height) — Float
  • 몸무게 (weight) — Float
  • 혈압 (bp)
  • 혈당 (bs)
  • 흡연 (sm)
  • Field

Trait (형질)

  • 형질 ID (id) — Integer — Primary key — NOT NULL
  • 영문이름 (name_en) — String
  • 한글이름 (name_ko) — String

User (사용자)

  • 사용자 ID (username) — String — Primary key — NOT NULL
  • 비밀번호 (password) — String
  • 이름 (name) — String
  • 소셜 (social) — String
  • 생일 (birthdate) — String
  • 휴대폰번호 (phonenumber) — String

UserBox (사용자박스)

  • 박스 ID (id) — Integer — Primary key — NOT NULL
  • 추천박스 (box) — Box
  • 사용자 (user) — User
  • 선택여부 (is_selected) — Boolean