novel

Tables (6)

Chapter (Untitled4)

  • id (chapter_id) — Primary key — NOT NULL
  • id (novel_id) — Foreign key → Novel.id — NOT NULL
  • id (myChapter_id) — Foreign key → Novel.id — NOT NULL
  • 제목 (subject)
  • 간략한 줄거리 소개 (shorts)
  • 실제 내용 (content)
  • 몇 화 (chapterSequence)
  • 조회 수 (Field)
  • 페이지 수 (pageCount)
  • 필요 소장권 (ticketPrice)

Member (Untitled2)

  • id (member_id) — Primary key — NOT NULL
  • 회원명(ID) (username) — VARCHAR
  • 비밀번호 (password) — VARCHAR
  • 프로필 사진 (profileImage) — VARCHAR
  • 남은 포인트 (restPoint) — INT
  • 소장권 개수 (restTicket) — INT
  • 작가명 (nickname) — VARCHAR
  • 생성일 (createdDate)

MyChapter (Untitled6)

  • id (order_id) — Primary key — NOT NULL
  • id (member_id) — Foreign key → Member.id — NOT NULL
  • id (chapter_id) — Foreign key → Chapter.id — NOT NULL
  • 결제여부 (isPaid)
  • 환불여부 (isRefund)
  • 현재 읽고 있는 페이지 (currentPage)
  • 읽음 여부 (isRead)
  • 생성일 (createdDate)

Novel (Untitled)

  • id (novel_id) — Primary key — NOT NULL
  • id (member_id) — Foreign key → Member.id — NOT NULL
  • 소설명 (subject)
  • 장르 (genre)
  • 작가 (authorName)
  • 소설설명 (description)
  • 연재 상태 (publishedState)
  • 총 조회수 (totalViewCount)
  • 총 챕터수 (totalChapterCount)
  • 소설 이미지 (imagePath)
  • 선호도 점수 (likeScore)
  • 생성일 (createDate)
  • 수정일 (updateDate)

Preference (Untitled7)

  • id (preference_id) — Primary key — NOT NULL
  • id (member_id) — Foreign key → Member.id — NOT NULL
  • id (novel_id) — Foreign key → Novel.id — NOT NULL
  • 유저가 마지막으로 읽은 챕터 (recentCh) — int

Transactions (Untitled8)

  • id (transaction_id) — Primary key — NOT NULL
  • id (member_id) — Foreign key → Member.id — NOT NULL
  • 거래 유형 (type)
  • 거래량 (amount)
  • 거래일 (createdDate)