도서
테이블 (7)
검색어 랭킹 저장 (Untitled4)
- keyword (Field) — String
- count (Field2) — Integer
리뷰 (Untitled3)
- id (PK) — Long — 기본 키 — NOT NULL
- book_id (FK -> Book) — Long — 외래 키 → 책.id — NOT NULL
- writer_name (리뷰 작성자 이름) — String
- password (리뷰 수정/삭제용 패스워드) — String
- content (리뷰 내용) — Text
- rating (평점 (1~5)) — Integer
- created_at (작성일) — datetime
- updated_at (수정일) — datetime
리뷰 좋아요 (Untitled8)
- id (PK) — Long — 기본 키 — NOT NULL
- review_id (FK -> Review) — Long — 외래 키 → 리뷰.id — NOT NULL
- device_id (클라이언트 식별값) — String
베스트셀러 (Untitled6)
- id (PK) — Long — 기본 키 — NOT NULL
- book_id (FK → Book) — Long — 외래 키 → 책.id — NOT NULL
- week (2025-W20 형태의 주차 구분) — String
- rank (랭킹 (1~10 등)) — Integer
책 (Untitled2)
- id (PK) — Long — 기본 키 — NOT NULL
- title (도서 제목) — String
- author (저자 이름) — String
- description (책 소개) — Text
- publisher (출판사) — String
- writer_name (작성자 이름) — String
- password (글 보호용 패스워드) — String
- published_at (출판일자) — Date
- thumbnail_url (썸네일 이미지 경로) — String
- created_at (등록일) — datetime
- updated_at (수정일) — datetime
- version (동시성 제어) — Integer
책 좋아요 (Untitled7)
- id (PK) — Long — 기본 키 — NOT NULL
- book_id (FK → Book) — Long — 외래 키 → 책.id — NOT NULL
- device_id (클라이언트 식별값) — String
추천 도서 (Untitled5)
- id (PK) — Long — 기본 키 — NOT NULL
- book_id (FK → Book) — Long — 외래 키 → 책.id — NOT NULL
- reason (추천 이유) — String
- recommended_at (추천일자) — datetime