AgriData-Lab
테이블 (5)
가격 (Price)
- 가격아이디 (price_id) — long — 기본 키 — NOT NULL
- 품종아이디 (kind_id) — long — 외래 키 → 품종.품종아이디 — NOT NULL
- 날짜 (date) — timestamp
- 판매가격 (price) — integer
알림 (Notification)
- 알림아이디 (notification_id) — long — 기본 키 — NOT NULL
- 제품아이디 (product_id) — long
- 타겟가격 (target_price) — integer
- 설정여부 (is_active) — boolean
- 유저아이디 (user_id) — long — 외래 키 → 유저.유저아이디 — NOT NULL
- 종류 (type) — enum
- 품종아이디 (kind_id) — long — 외래 키 → 품종.품종아이디 — NOT NULL
알림이력 (NotificationLog)
- 알림이력아이디 (notification_log_id) — long — 기본 키 — NOT NULL
- 발생시각 (triggered_at) — timestamp
- 발생시가격 (current_price) — integer
- 메시지 (message) — string
- 알림아이디 (notification_id) — long — 외래 키 → 알림.알림아이디 — NOT NULL
유저 (User)
- 유저아이디 (user_id) — long — 기본 키 — NOT NULL
- 비밀번호 (password) — string
- 닉네임 (nickname) — string
- 이메일 (email) — string
- 인증여부 (is_verificated) — boolean
- 지역 (region) — enum
- 관심품종 (interestItem) — long — 외래 키 → 품종.품종아이디 — NOT NULL
품종 (Kind)
- 품종아이디 (kind_id) — long — 기본 키 — NOT NULL
- 품종명 (kind_name) — string
- 카테고리 (category) — enum
- 품종코드 (itemcode) — integer
- 단위 (unit) — enum