Joongobooks_final

Tables (4)

Book (게시물)

  • pk (id) — Primary key — NOT NULL
  • 작성자 (writer) — Foreign key → User.pk — NOT NULL
  • 도서명 (title)
  • 저자 (author)
  • 출판사 (publisher)
  • 도서상태 (condition)
  • 정가 (original_price)
  • 판매가 (selling_price)
  • 상세 내용 (detail_info)
  • 판매 상태 (sale_condition)
  • 이미지 (image)
  • 카테고리 (category_choices)
  • 작성 시간 (upload_time)

Conversation (도서추천)

  • pk (id) — Primary key — NOT NULL
  • 사용자 (user) — Foreign key → User.pk — NOT NULL
  • 프롬프트 (prompt)
  • 답변 (response)
  • 생성시간 (created_at)

Profile (프로필)

  • pk (id) — Primary key — NOT NULL
  • 회원 (user) — Foreign key → User.pk — NOT NULL
  • 프로필이미지 (profile_img)
  • 자기소개 (about_me)
  • 최근 프로필 수정일 (updated_at)

User (사용자)

  • pk (id) — Primary key — NOT NULL
  • 유저명 (username)
  • 이메일 (email)
  • 관리자권한 (is_staff)
  • 관리자 (is_superuser)
  • 계정활성화 (is_active)
  • 마지막 로그인 시간 (last_login)
  • 가입일 (date_joined)
  • 비밀번호 (password)
  • 닉네임 (nickname)