capstone
Tables (3)
Chat (챗봇)
- chatId (챗봇 식별 번호) — long — Primary key — NOT NULL
- userId (유저 식별 번호) — long — Foreign key → User.userId — NOT NULL
- userMessage (유저가 보낸 메시지) — list
- botResponse (챗봇이 답한 메시지) — list
- emotion (분석 감정) — string
- recommendContent (추천 콘텐츠) — json
- createDate (생성일) — datetime
- diaryId (일기 식별 번호) — long — Foreign key → Diary.diaryId — NOT NULL
Diary (일기)
- diaryId (일기 식별 번호) — long — Primary key — NOT NULL
- userId (유저 식별 번호) — long — Foreign key → User.userId — NOT NULL
- title (일기 제목) — string
- content (일기 내용) — json
- emotion (분석 감정) — string
- recommendContent (추천 콘텐츠) — json
- diaryDate (달력 날짜) — date
- createDate (생성일) — datetime
- updateDate (갱신일) — datetime
User (유저)
- userId (유저 식별 번호) — long — Primary key — NOT NULL
- username (로그인 id) — string
- password (로그인 pw) — string
- personName (사람 이름) — string
- nickName (닉네임) — string
- email (이메일) — string
- phone (휴대폰 번호) — string
- emotion (결산 감정) — string
- createDate (생성일) — datetime
- updateDate (갱신일) — datetime
- role (권한) — enum(admin, member)
- chatList (대화 목록) — list
- diary (일기 목록) — list