e-book

테이블 (17)

Book (Untitled5)

  • Key — 기본 키 — NOT NULL
  • Field4
  • Field5

EBook (Untitled6)

  • id (Key) — 기본 키 — NOT NULL
  • author_id (Key2) — 외래 키 → author.id — NOT NULL
  • category_id (Key3) — 외래 키 → category.id — NOT NULL
  • 등록일시 (createdAt)
  • 설명 (description)
  • 목차 (ebookIndex)
  • 제목 (ebookName)
  • 가격 (price)
  • 작가이름 (authorName)
  • 작가소개 (authorIntroduce)
  • 이미지 경로 (image_file_url)
  • 업로드 이미지 이름 (image_original_filename)
  • 저장된 이미지 이름 (image_stored_filename)
  • 연령제한 (ageLimit)
  • 환불횟수 (refundCount)
  • 장편/단편 구분 (novelType)
  • 조회수 (views)
  • 판매 횟수 (salesCounts)
  • 다운로드 횟수 (downloadCounts)
  • 게시물 상태 (status)
  • 삭제 요청 일자 (deleteRequestDate)
  • 등록번호 (isbn)
  • 원본 파일 이름 (ebook_original_filename)
  • 저장된 파일 이름 (ebook_stored_filename)
  • 파일 경로 (ebook_file_url)

EBookOrder (Untitled2)

  • id (Key) — 기본 키 — NOT NULL
  • user_id (Key2) — 외래 키 → reader.id — NOT NULL
  • 구매상품 다운로드 여부 (isDownloaded)
  • 구매날짜 (purchasedDate)
  • 구매상태 (purchaseStatus)
  • 결제종류(방법) (paymentMethod)
  • 환불여부 (isRefunded)
  • 환불사유 (refundReason)
  • 환불승인여부 (refundApproveStatus)
  • 리뷰 여부 (reviewStatus)
  • 상품명 (Field)
  • 가격 (price)

Untitled7

  • id (Key) — 기본 키 — NOT NULL
  • 우편번호 (zipCode)
  • 주소 (address)
  • 상세주소 (addressDetail)

accounts

  • id (Key) — 기본 키 — NOT NULL
  • seller_id (Key2) — 외래 키 → author.id — NOT NULL
  • banknName (은행명)
  • accountNumber (계좌번호)
  • accountHolder (예금주)

admin (Untitled11)

  • id (Key) — 기본 키 — NOT NULL
  • adminId (Field)
  • username (Field2)
  • password (Field3)
  • adminName (Field4)
  • email (Field5)

author (Untitled8)

  • id (Key) — 기본 키 — NOT NULL
  • 아이디 (username)
  • 비밀번호 (password)
  • 가입일자 (createdAt)
  • 작가 고유 ID (authorId)
  • 닉네임 (nickname)
  • 프로필이미지 (profileImage)
  • 작가 이름 (authorName)
  • 이메일 (email)
  • 휴대폰번호 (phoneNumber)
  • 우편번호 (zipCode)
  • 주소 (address)
  • 상세주소 (addressDetail)
  • 등급(티어) (grade)
  • 역할 (roleType)
  • 정산 예정금액 (scheduledAmount)
  • 누적 정산금액 (cumulativeAmount)
  • 정산예정 일자 (adjustmentDate)
  • 모든상품 누적 다운로드 수 (totalDownloadCount)
  • 판매 약관 동의여부 (termsAgreement)
  • 개인정보 이용약관 동의여부 (privacyAgreement)

cart (Untitled10)

  • id (Key) — 기본 키 — NOT NULL
  • Key (Key2) — 외래 키 → reader.id — NOT NULL
  • 상품명 (item)
  • 개수 (counts)

category (enum)

  • id (Key2) — 기본 키 — NOT NULL
  • 카테고리 코드 (categoryCode)
  • 카테고리 이름 (Field2)

product_review (Untitled9)

  • id (Key2) — 기본 키 — NOT NULL
  • product_id (Key) — 외래 키 → EBook.id — NOT NULL
  • 제목 (Field)
  • 내용 (Field2)
  • 등록일자 (Field3)
  • 삭제 여부 (Field4)
  • 삭제일자 (Field5)

reader (Untitled)

  • id (Key) — 기본 키 — NOT NULL
  • 고유 ID (readerId)
  • 아이디 (username)
  • 비밀번호 (password)
  • 이름 (readerName)
  • 이메일 (email)
  • 성별 (gender)
  • 가입일자 (createdAt)
  • 전화번호 (phoneNumber)
  • 프로필이미지 (profileImage)
  • 등급 (grade)
  • 원본프로필 파일이름 (originalFileName)
  • 저장된 프로필 파일이름 (storedFileName)
  • 파일URL (fileUrl)
  • 역할 (roleType)
  • 컨텐츠 약관 동의여부 (contentTermsAgreement)
  • 환불정책 동의여부 (refundPolicyAgreement)
  • 개인정보 이용 동의여부 (personalInfoAgreement)

resume (Untitled16)

  • Key — 기본 키 — NOT NULL
  • id (Key2) — 외래 키 → author.id — NOT NULL
  • 자격증 증빙자료 (Field)
  • 이력,수상 세부사항 (Field2)
  • 이력,수상 증빙자료 (Field4)

serller_inquiry (CopyOfUntitled3)

  • id (Key) — 기본 키 — NOT NULL
  • seller_id (Key2) — 외래 키 → author.id — NOT NULL
  • 등록일시 (createdAt)
  • 제목 (title)
  • 내용 (content)
  • 처리상태 (status)
  • 첨부파일 (attachment)
  • 답변 (reply)

user_inquiry (Untitled3)

  • id (Key) — 기본 키 — NOT NULL
  • user_id (Key2) — 외래 키 → reader.id — NOT NULL
  • 등록일시 (createdAt)
  • 제목 (title)
  • 내용 (content)
  • 처리상태 (inquiryStatus)
  • 첨부파일 (attachment)
  • 답변 (reply)

wishList (Untitled15)

  • Key — 기본 키 — NOT NULL
  • id (Key2) — 외래 키 → reader.id — NOT NULL

권한 (Untitled4)

  • 일반회원 (Key) — 기본 키 — NOT NULL
  • 권한 (Field)

판매자 권한 (CopyOfUntitled4)

  • 판매자 회원 (Key) — 기본 키 — NOT NULL
  • 권한 (Field)