CMS

테이블 (9)

대상 테이블 (CMS_TARGET)

  • Key (target_id) — Int — 기본 키 — NOT NULL
  • 도메인 (target_domain) — String — NOT NULL
  • 대상명 (target_name) — String — NOT NULL
  • 회사코드 (company_code) — String — NOT NULL
  • 접근key (access_key) — String — NOT NULL

매핑 테이블 (CMS_MAPPING)

  • Key (mapping_id) — Int — 기본 키 — NOT NULL
  • Key (contents_group_id) — Int — 외래 키 → 콘텐츠 상위(원천) 테이블.Key — NOT NULL
  • Key (contents_id) — Int — 외래 키 → 콘텐츠 테이블.Key — NOT NULL

조건 테이블 (CMS_ CONDITION)

  • Key (condition_id) — Int — 기본 키 — NOT NULL
  • 콘텐츠 제공 방식(api, url) (condition_external) — String — NOT NULL
  • 태그 (condition_tag) — Array
  • 시작날짜 (start_at) — Date
  • 종료날짜 (end_at) — Date
  • 카테고리 (condition_category) — Int
  • 조건명 (condition_name) — String
  • 조회 개수 제한 (condition_limit) — Int
  • 콘텐츠 테이블(원천, 조각) (condition_table) — String — NOT NULL
  • 타입 (유튜브, 블로그, 매거진) (condition_type) — String
  • 소속(테사, 테사에셋) (condition_group) — String
  • 콘텐츠 지정 (condition_designation) — Array
  • 연관 콘텐츠 노출 여부 (is_relation) — Boolean — NOT NULL
  • Key (target_id) — Int — 외래 키 → 대상 테이블.Key — NOT NULL

카테고리 테이블 (CMS_CATEGORY)

  • Key (category_id) — Int — 기본 키 — NOT NULL
  • 카테고리명 (category_name) — String — NOT NULL

콘텐츠 버전 테이블 (CMS_CONTENTS_VERSION)

  • Key (contents_version_id) — Int — 기본 키 — NOT NULL
  • 제목 (contents_title) — String — NOT NULL
  • 내용 (contents_desc) — String
  • 작성자 (user) — Int — NOT NULL
  • 등록일 (created_at) — Date — NOT NULL
  • 소속(테사, 테사에셋) (contents_group) — String — NOT NULL
  • html 태그 (contents_html) — Text
  • Key (contents_id) — Int — 외래 키 → 콘텐츠 테이블.Key — NOT NULL

콘텐츠 상위(원천) 테이블 (CMS_CONTENTS_GROUP)

  • Key (contents_group_id) — Int — 기본 키 — NOT NULL
  • 제목 (contents_group_title) — String — NOT NULL
  • 태그 (contetns_group_tag) — Array
  • 타입(유뷰트, 블로그, 매거진) (contents_group_type) — String — NOT NULL
  • url (contents_group_url) — String
  • 작성자 (user) — Int — NOT NULL
  • 노출 여부 (is_show) — Boolean — NOT NULL
  • 노출 시작 날짜 (start_at) — Date
  • 노출 종료 날짜 (end_at) — Date
  • 등록일 (created_at) — Date — NOT NULL
  • 수정일 (updated_at) — Date
  • 삭제 여부 (is_delete) — Boolean — NOT NULL
  • uuid (contents_uid) — String — NOT NULL
  • 연관 콘텐츠 (contents_relation) — Array
  • 승인상태 (status) — Int — NOT NULL
  • Key (category_id) — Int — 외래 키 → 카테고리 테이블.Key — NOT NULL

콘텐츠 테이블 (CMS_CONTENTS)

  • Key (contents_id) — Int — 기본 키 — NOT NULL
  • 제목 (contents_title) — String — NOT NULL
  • 내용 (contents_desc) — String
  • 작성자 (user) — Int — NOT NULL
  • 등록일 (created_at) — Date — NOT NULL
  • 수정일 (updated_at) — Date
  • 소속(테사, 테사에셋) (contents_group) — String — NOT NULL
  • 삭제 여부 (is_delete) — Boolean
  • 텍스트 에디터 (contents_editor) — Text

콘텐츠 파일 관리 테이블 (CMS_FILE)

  • Key (file_id) — Int — 기본 키 — NOT NULL
  • 타입(이미지, 동영상) (file_type) — String — NOT NULL
  • 용도(뷰, 다운로드) (file_purpose) — String — NOT NULL
  • 파일 원본 주소 (file_origin_url) — String — NOT NULL
  • 파일 썸네일 주소 (file_thumbnail_url) — String
  • 파일 크기 (file_size) — Int — NOT NULL
  • 파일 확장자 (file_ extension) — String — NOT NULL
  • 파일 이름 (file_name) — String — NOT NULL
  • 파일 원본 이름 (file_origin_name) — String — NOT NULL
  • Key (contents_id) — Int — 외래 키 → 콘텐츠 테이블.Key — NOT NULL

히스토리 테이블 (CMS_HISTORY)

  • Key (history_id) — Int — 기본 키 — NOT NULL
  • 페이지명 (page) — String — NOT NULL
  • 페이지 주소 (page_url) — String — NOT NULL
  • 회원키 (user) — Int — NOT NULL
  • 아이피 (ip) — String — NOT NULL
  • 대상 key (target_id) — Int — NOT NULL
  • Key (contents_group_id) — Int — 외래 키 → 콘텐츠 상위(원천) 테이블.Key — NOT NULL