Smile Log

테이블 (3)

감정 분석 (EmotionAnalysis)

  • PK (analysis_id) — Int — 기본 키 — NOT NULL
  • FK (diary_id) — Int — 외래 키 → 일기.PK — NOT NULL
  • 기쁨 퍼센트 (joy_pct) — Int
  • 슬픔 퍼센트 (sadness_pct) — Int
  • 불안 퍼센트 (anxiety_pct) — Int
  • 짜증 퍼센트 (anger_pct) — Int
  • 중립 퍼센트 (neutrality_pct) — Int
  • 피곤함 퍼센트 (fatigue_pct) — Int

사용자 (User)

  • PK (user_id) — Int — 기본 키 — NOT NULL
  • 이름 (username) — String
  • 아이디 (user_login_id) — String
  • 비밀번호 (password) — String
  • 리프레시 토큰 (refresh_token) — String

일기 (Diary)

  • PK (diary_id) — Int — 기본 키 — NOT NULL
  • FK (user_id) — Int — 외래 키 → 사용자.PK — NOT NULL
  • 작성 날짜 (date) — DateTime
  • 내용 (content) — String