CheriC

테이블 (13)

미술 분야 (Part)

  • id — Long — 기본 키 — NOT NULL — 선호 분야 id
  • name — String — NOT NULL — 선호 분야 이름
  • memberId — Long — 외래 키 → 회원.id — NOT NULL — 멤버 id

작품 (Art)

  • id — Long — 기본 키 — NOT NULL — 작품 id
  • name — String — NOT NULL — 작품 이름
  • series — String — NOT NULL — 작품 시리즈
  • description — String — NOT NULL — 작품 설명
  • widthSize — Inteager — NOT NULL — 작품 가로 사이즈
  • heightSize — Inteager — NOT NULL — 작품 세로 사이즈
  • materials — String — NOT NULL — 작품 사용 재료
  • createDate — TIMESTAMP — NOT NULL — 작품 제작 일시
  • isPublic — Boolean — NOT NULL — 공개 여부
  • notice — String — NOT NULL — 작품 이용 유의사항
  • regTime — TIMESTAMP — NOT NULL — 작품 등록 시간
  • updateTime — TIMESTAMP — NOT NULL — 작품 수정 시간

작품 이미지 (ArtImage)

  • id — Long — 기본 키 — NOT NULL — 작품 이미지 id
  • ImagePath — String — NOT NULL — 작품 이미지 경로
  • artId — Long — 외래 키 → 작품.id — NOT NULL — 작품 id

작품 좋아요 (ArtGood)

  • id — Long — 기본 키 — NOT NULL — 작품 좋아요 id
  • artId — Long — 외래 키 → 작품.id — NOT NULL — 작품 id
  • memberId — Long — 외래 키 → 회원.id — NOT NULL — 멤버 id

전시 (Exhibition)

  • id — Long — 기본 키 — NOT NULL — 전시 id
  • name — String — NOT NULL — 전시 이름
  • description — String — NOT NULL — 전시 설명
  • font — Inteager — NOT NULL — 전시 이름 폰트 0: 기본 시스템 폰트
  • mainImgPath — String — NOT NULL — 전시 커버 사진 경로
  • bgmPath — String — 전시 배경 음악
  • artId — Long — 외래 키 → 전시 작품.artId — NOT NULL — 작품 id
  • memberId — Long — 외래 키 → 회원.id — NOT NULL — 멤버 id

전시 작품 (ExhibitionArt)

  • id — Long — 기본 키 — NOT NULL — 전시 작품 id
  • artId — Long — 외래 키 → 작품.id — NOT NULL — 작품 id
  • description — String — NOT NULL — 나만의 작품 설명
  • motive — String — 나만의 작품 수집 계기
  • review — String — 나만의 작품 감상평
  • regTime — TIMESTMAP — NOT NULL — 전시 작품 등록 시간
  • updateTime — TIMESTMAP — NOT NULL — 전시 작품 수정 시간

전시 테마 (ExhibitionThema)

  • id — Long — 기본 키 — NOT NULL — 전시 테마 id
  • name — String — NOT NULL — 테마 이름
  • exhibitionId — Long — 외래 키 → 전시.id — NOT NULL — 전시 id

전시좋아요 (ExhibitionGood)

  • id — Long — 기본 키 — NOT NULL — 좋아요 id
  • memberId — Long — 외래 키 → 회원.id — NOT NULL — 멤버 id
  • exhibitionId — Long — 외래 키 → 전시.id — NOT NULL — 전시 id

컬렉션 (Collection)

  • id — Long — 기본 키 — NOT NULL — 컬렉션 id
  • name — String — NOT NULL — 컬렉션 이름
  • description — String — NOT NULL — 컬렉션 설명
  • memberId — Long — 외래 키 → 회원.id — NOT NULL — 멤버 id
  • collectionArtId — Long — 외래 키 → 컬렉션 작품.id — NOT NULL

컬렉션 작품 (CollectionArt)

  • id — Long — 기본 키 — NOT NULL
  • artId — Long — 외래 키 → 작품.id — NOT NULL — 작품 id

컬렉션 좋아요 (CollectionGood)

  • Key — 기본 키 — NOT NULL
  • collectionId — Long — 외래 키 → 컬렉션.id — NOT NULL — 컬렉션 id
  • memberId — Long — 외래 키 → 회원.id — NOT NULL — 멤버 id

회원 (Member)

  • id — Long — 기본 키 — NOT NULL — 멤버 id
  • name — String — NOT NULL — 멤버 이름
  • profileImgPath — String — NOT NULL — 프로필 사진 경로
  • regTime — TIMESTAMP — NOT NULL — 등록 시간
  • updateTime — TIMESTAMP — NOT NULL — 수정한 시간
  • quality — Int — NOT NULL — 작가 여부

후기 (GuestBook)

  • id — Long — 기본 키 — NOT NULL — 방명록 id
  • comment — String — NOT NULL — 방명록 문구
  • memberId — Long — 외래 키 → 회원.id — NOT NULL — 멤버 id
  • exhibitionId — Long — 외래 키 → 전시.id — NOT NULL — 전시 id