Assignment

테이블 (4)

답변내용 (consult_answer_content)

  • consult_answer_content_id — bigint — 기본 키 — NOT NULL
  • consult_content_id — bigint — 외래 키 → 상담글.id — NOT NULL
  • content — text
  • create_by — bigint
  • modify_by — bigint
  • update_at — datetime
  • create_at — datetime

상담글 (consult_content)

  • id (consult_content_id) — bigint — 기본 키 — NOT NULL
  • category_id — bigint — 외래 키 → 상당 카테고리.상담 카테고리 아이디 — NOT NULL
  • 상담내용 (ask_contnet) — text
  • 상담자 이메일 (client_email) — varchar(30)
  • 상담상태 (status) — varchar(10)
  • create_by — bigint
  • modify_by — bigint
  • update_at — datetime
  • create_at — datetime

상당 카테고리 (consult_category)

  • 상담 카테고리 아이디 (category_id) — bigint — 기본 키 — NOT NULL
  • category_name — varchar(20)
  • left_node — bigint
  • right_node — bigint

파일 업로드 (consult_file)

  • consult_file_id — bigint — 기본 키 — NOT NULL
  • answer_content_id — bigint — 외래 키 → 답변내용.consult_answer_content_id — NOT NULL
  • file_url — varchar(255)