식물키우기
테이블 (17)
도전과제 (achievement)
- 도전과제 ID (id) — not null — 기본 키 — NOT NULL
- 타이틀 (title) — not null
- 설명 (description) — not null
- 보상 (type) — not null
도전과제 진행도 (member_achievement)
- 도전과제 진행도 ID (id) — not null — 기본 키 — NOT NULL
- 도전과제 ID (achievement_id) — not null — 외래 키 → 도전과제.도전과제 ID — NOT NULL
- 멤버 ID (member_id) — 외래 키 → 멤버.멤버 ID — NOT NULL
- 진행도 (progress) — not null
- 달성여부 (isCompleted) — not null
멤버 (member)
- 멤버 ID (id) — 기본 키 — NOT NULL
- 멤버이름 (username) — not null
- 이메일 (email) — not null
- 패스워드 (password) — not null
- 권한 (role) — not null
- 플랫폼 (member_platform)
- 주소 (address)
- 인증여부 (activate)
- 수정시간 (created_date)
- 마지막수정시간 (last_modified_date)
식물 (plant)
- 식물 ID (id) — not null — 기본 키 — NOT NULL
- 멤버 ID (memberId) — not null — 외래 키 → 멤버.멤버 ID — NOT NULL
- 이름 (name) — not null
- 호감도(레벨) (exp) — not null
- 식별코드 (uuid) — not null
- 물공급응답상태 (giveWater) — not null
- 식물종류 (plant_type) — not null
- 등록날짜 (createDate) — not null
- 수정날짜 (modifiedDate) — not null
식물기록 (plant_history)
- 식물기록ID (plantHisory_id) — not null — 기본 키 — NOT NULL
- 식물 ID (plant_id) — not null — 외래 키 → 식물.식물 ID — NOT NULL
- 온도 (temp) — not null
- 습도 (humidity) — not null
- 토양습도 (soil_humidity) — not null
- 조도 (light) — not null
- 등록날짜 (createdDate) — not null
- 수정날짜 (modifiedDate) — not null
- 멤버id (member_id) — not null
- 남은물용량 (remaining_water) — not null
- 물공급여부 (gave_water) — not null
식물종류 (PlantType)
- 상추 (Field)
- 양파 (Field2)
- 대파 (Field3)
- 딸기 (Field4)
아이템 (items)
- 아이템ID (id) — not null — 기본 키 — NOT NULL
- 이름 (name) — not null
- 가격 (price) — not null
- 재고 (stock_quantity) — not null
- 종류 (plant_type) — not null
알림 (Notification)
- 알림 ID (notification_id) — not null — 기본 키 — NOT NULL
- 멤버 ID (member_id) — not null — 외래 키 → 멤버.멤버 ID — NOT NULL
- 설명 (description) — not null
- 링크 (linkS) — not null
- 읽음여부 (isRead) — not null
- 알림타입 (notificationType) — not null
오더아이템 (order_item)
- 오더아이템 ID (id) — not null — 기본 키 — NOT NULL
- 주문ID (order_id) — not null — 외래 키 → 주문.주문ID — NOT NULL
- 아이템ID (item_id) — not null — 외래 키 → 아이템.아이템ID — NOT NULL
- 주문 가격 (order_price) — not null
- 수량 (count) — not null
이메일인증 (email_verify)
- 이메일 인증 ID (email_verify_id) — not null — 기본 키 — NOT NULL
- 멤버 ID (member_id) — not null — 외래 키 → 멤버.멤버 ID — NOT NULL
- 이메일 (email) — not null
- 식별코드 (uuid) — not null
주문 (orders)
- 주문ID (id) — not null — 기본 키 — NOT NULL
- 멤버 ID (member_id) — not null — 외래 키 → 멤버.멤버 ID — NOT NULL
- 식물 ID (plant_id) — 외래 키 → 식물.식물 ID — NOT NULL
- 주문상태 (status) — not null
- 주소 (address) — not null
주문상태 (OrderStatus)
- 취소 (CANCEL)
- 배송중 (SHEEPING)
- 완료 (COMPLETE)
- 준비 (READY)
주소 (Address)
- 도시 (city) — not null
- 도로명 (street) — not null
- 우편번호 (zipcode) — not null
- 상세주소 (specify) — not null
출석체크 (member_check_in)
- 출석체크 ID (id) — not null — 기본 키 — NOT NULL
- 멤버 ID (id2) — 외래 키 → 멤버.멤버 ID — NOT NULL
- 출석체크시간 (check_in_time) — not null
퀘스트 (quest)
- 퀘스트 ID (id) — 기본 키 — NOT NULL
- 타이틀 (title) — not null
- 설명 (description) — not null
- 보상 (reward) — not null
- 목표 (goal) — not null
퀘스트 진행도 (questProgress)
- questProgress_id (id) — 기본 키 — NOT NULL
- 멤버 ID (member_id) — 외래 키 → 멤버.멤버 ID — NOT NULL
- 퀘스트 ID (quest_id) — 외래 키 → 퀘스트.퀘스트 ID — NOT NULL
- 진행도 (progress)
- 달성 여부 (completed)
플랫폼 (MemberPlatform)
- 로컬 (LOCAL)
- 구글 (GOOGLE)
- 카카오 (KAKAO)