큐레이션

테이블 (13)

postgresql용 wr 테이블 (curation_wr_list)

  • wr_id (좋아요 테이블의 wr id) — int — 기본 키 — NOT NULL
  • like (좋아요 수) — int
  • view (조회수) — int

검색 로그 테이블 (curation_search_log)

  • id (아이디) — 기본 키 — NOT NULL
  • user_id (아이디2) — uuid — 외래 키 → 큐레이션 유저.user_id — NOT NULL
  • search_term (검색어)
  • created_date (생성 시간)

검색 카운트 테이블 (curation_search_term_count)

  • id (아이디) — 기본 키 — NOT NULL
  • term (검색어)
  • count (검색수)
  • prev_count (이전 검색 수)
  • hide (숨김 여부)

비디오 테이블 (curation_video)

  • video_id (비디오 아이디) — 기본 키 — NOT NULL
  • video_link (비디오 링크)
  • video_thumbnail (비디오 썸네일)
  • created_date (생성일자)

성공사례 (g5_write_case_starlaw_rgn)

  • wr_id (아이디) — mariaDB에 존재함 — 기본 키 — NOT NULL

인터뷰 테이블 (Untitled)

  • interview_id (아이디) — 기본 키 — NOT NULL
  • interview_thumbnail (Field)
  • Field2
  • Field3

좋아요 테이블 (curation_like)

  • id (아이디) — serial — 기본 키 — NOT NULL
  • user_id (유저 아이디) — uuid — 외래 키 → 큐레이션 유저.user_id — NOT NULL
  • wr_id_like (좋아요 테이블의 wr id) — int — 외래 키 → postgresql용 wr 테이블.wr_id — NOT NULL
  • created_date (Field2) — date

큐레이션 결과 (curation_result)

  • curation_id (큐레이션 아이디) — 기본 키 — NOT NULL
  • user_id (아이디) — 외래 키 → 큐레이션 유저.user_id — NOT NULL
  • ai_anal1_id (ai 결과 wr_id 1번)
  • ai_anal1_similar (ai 결과 wr_id 유사도 1번)
  • ai_anal2_id (ai 결과 wr_id 2번)
  • ai_anal2_similar (ai 결과 wr_id 유사도 2번)
  • ai_anal3_id (ai 결과 wr_id 3번)
  • ai_anal3_similar (ai 결과 wr_id 유사도 3번)
  • ai_anal4_id (ai 결과 wr_id 4번)
  • ai_anal4_similar (ai 결과 wr_id 유사도 4번)
  • ai_anal5_id (ai 결과 wr_id 5번)
  • ai_anal5_similar (ai 결과 wr_id 유사도 5번)

큐레이션 결과 jso (curation_result_json)

  • id (Key) — 기본 키 — NOT NULL
  • curation_id (Key2) — 외래 키 → 큐레이션 챗봇 로그.curation_id — NOT NULL
  • user_id (아이디) — uuid — 외래 키 → 큐레이션 챗봇 로그.user_id — NOT NULL
  • ai_result (Field)
  • recommend_result (Field2)

큐레이션 랭크 테이블 (curation_rank)

  • id (Key) — 기본 키 — NOT NULL
  • type (Field)
  • record_date (Field2)
  • data (Field3)

큐레이션 유저 (curation_user)

  • user_id (아이디) — uuid — 기본 키 — NOT NULL
  • fingerprint_id (핑거프린트 아이디) — text
  • user_age (유저 나이와 성별) — smallint
  • user_gender (유저 성별) — char
  • user_occupation (유저 직업') — text
  • user_debt (유저 빚) — bigint
  • user_family (부양가족 명수) — smallint
  • user_case1 (빚 사유1) — varchar
  • user_case2 (빚 사유2) — varchar
  • user_case3 (빚 사유3) — varchar
  • user_img (유저 이미지) — text

큐레이션 조회 (curation_view)

  • id (아이디) — serial — 기본 키 — NOT NULL
  • user_id (유저 아이디) — uuid — 외래 키 → 큐레이션 유저.user_id — NOT NULL
  • wr_id_view (좋아요 테이블의 wr id) — int — 외래 키 → postgresql용 wr 테이블.wr_id — NOT NULL
  • view_count (Field2) — int
  • last_view_date (Field3) — date

큐레이션 챗봇 로그 (curation_chatbot_log)

  • curation_id (Key) — 기본 키 — NOT NULL
  • user_id (아이디) — uuid — 외래 키 → 큐레이션 유저.user_id — NOT NULL
  • created_date (Field2)
  • updated_date (Field3)
  • age (Field4)
  • gender (Field5)
  • occupation (Field6)
  • occupation_detail (Field7)
  • debt (Field11)
  • cause1 (Field8)
  • cause2 (Field9)
  • cause3 (Field10)
  • family (Field12)
  • done (Field13)