ChatService
Tables (6)
AdminLog (tb_adminlog)
- 관리자 고유 아이디 (admin_log_id) — NOT NULL — Primary key — NOT NULL
- 학교 정보 고유 아이디 (info_id) — NOT NULL — Foreign key → SchoolInfo.학교 정보 고유 아이디 — NOT NULL
- 크롤링/수동 입력 (action_type) — NOT NULL
Answer (tb_answer)
- 답변 고유 아이디 (answer_id) — NOT NULL — Primary key — NOT NULL
- 질문 고유 아이디 (question_id) — NOT NULL — Foreign key → Question.질문 고유 아이디 — NOT NULL
- 답변 타입 (answer_type) — NOT NULL
- 답변 내용 (answer_content) — NOT NULL
- 답변 생성 시간 (created_at) — NOT NULL
Category (tb_category)
- 카테고리 고유 아이디 (category_id) — NOT NULL — Primary key — NOT NULL
- 카테고리 이름(학사/입시) (category_name) — NOT NULL
ChatLog (tb_chatlog)
- 로그 고유 아이디 (chat_log_id) — NOT NULL — Primary key — NOT NULL
- 답변 고유 아이디 (answer_id) — NOT NULL — Foreign key → Answer.답변 고유 아이디 — NOT NULL
- 질문 고유 아이디 (question_id) — NOT NULL — Foreign key → Answer.질문 고유 아이디 — NOT NULL
- 질문과 답변이 이루어지는 시간 (interaction_time) — NOT NULL
Question (tb_question)
- 질문 고유 아이디 (question_id) — NOT NULL — Primary key — NOT NULL
- 카테고리 고유 아이디 (category_id) — NOT NULL — Foreign key → Category.카테고리 고유 아이디 — NOT NULL
- 질문 타입 (question_type) — NOT NULL
- 질문 내용 (question_content) — NOT NULL
- 질문 생성 시간 (created_at) — NOT NULL
SchoolInfo (tb_schoolinfo)
- 학교 정보 고유 아이디 (info_id) — NOT NULL — Primary key — NOT NULL
- 카테고리 고유 아이디 (category_id) — NOT NULL — Foreign key → Category.카테고리 고유 아이디 — NOT NULL
- 학사/입시 - 정보 제목 (info_title) — NOT NULL
- 정보의 자세한 내용 (info_content) — NOT NULL
- 마지막 업데이트 시간 (last_updated) — NULL