DEU Marketplace

Tables (15)

admin (관리자)

  • 관리자 식별자 (admin_id) — not null — Primary key — NOT NULL
  • 로그인 아이디 (login_id) — not null
  • 패스워드 (password) — not null
  • 이름 (name) — not null
  • 이메일 (email) — not null

answer (문의답변)

  • 답변 식별자 (answer_id) — not null — Primary key — NOT NULL
  • 관리자 식별자 (admin_id) — not null — Foreign key → admin.관리자 식별자 — NOT NULL
  • 문의사항 식별자 (question_id) — not null — Foreign key → questions.문의사항 식별자 — NOT NULL
  • 답변내용 (contents) — not null

chat_log (채팅_로그)

  • 채팅기록 식별자 (chat_log_id) — not null — Primary key — NOT NULL
  • 채팅방 식별자 (chat_room_id) — not null — Foreign key → chat_room.채팅방 식별자 — NOT NULL
  • 보낸사람 (sender_id) — not null — Foreign key → user.유저 식별자 — NOT NULL
  • 내용 (content) — not null
  • 읽음여부 (is_read) — not null

chat_room (채팅방)

  • 채팅방 식별자 (chat_room_id) — not null — Primary key — NOT NULL
  • 물품 식별자 (item_id) — not null — Foreign key → item.물품 식별자 — NOT NULL
  • 채팅 요청자 식별자 (requester_id) — not null — Foreign key → user.유저 식별자 — NOT NULL
  • 등록자 방 나가기 여부 필드 (register_out_field) — not null
  • 요청자 방 나가기 여부 필드 (requester_out_field) — not null

deal (물품_거래)

  • 거래 식별자 (deal_id) — not null — Primary key — NOT NULL
  • 채팅방 식별자 (chat_room_id) — not null — Foreign key → chat_room.채팅방 식별자 — NOT NULL
  • 거래약속시간 (appoint_date) — not null
  • 거래장소 (place) — not null
  • 거래상태 (state) — not null

declaration (신고내역)

  • 신고 식별자 (declaration_id) — not null — Primary key — NOT NULL
  • 작성자 식별자 (writer_id) — not null — Foreign key → user.유저 식별자 — NOT NULL
  • 신고 내용 (contents) — not null

declaration_handling (문의 처리)

  • 처리 식별자 (handling_id) — not null — Primary key — NOT NULL
  • 처리자 식별자 (admin_id) — not null — Foreign key → admin.관리자 식별자 — NOT NULL
  • 신고 식별자 (declaration_id) — not null — Foreign key → declaration.신고 식별자 — NOT NULL
  • 처리 내용 (contents) — not null

item (물품)

  • 물품 식별자 (item_id) — not null — Primary key — NOT NULL
  • 등록자 식별자 (user_id) — not null — Foreign key → user.유저 식별자 — NOT NULL
  • 물품 카테고리 식별자 (item_category_id) — not null — Foreign key → item_category.물품 카테고리 식별자 — NOT NULL
  • 강의 식별자 (lecture_id) — not null — Foreign key → lecture.강의 식별자 — NOT NULL
  • 제목 (title) — not null
  • 필기상태 (note_state)
  • 외관상태 (surface_state)
  • 정가 (regular_price)
  • 희망금액 (price) — not null
  • 설명 (description) — not null
  • 삭제여부 (del_field) — not null

item_category (물품_카테고리)

  • 물품 카테고리 식별자 (item_category_id) — not null — Primary key — NOT NULL
  • 카테고리 명 (item_category_name) — not null

item_img (물품_이미지)

  • 이미지 식별자 (item_img_id) — not null — Primary key — NOT NULL
  • 물품 식별자 (item_id) — not null — Foreign key → item.물품 식별자 — NOT NULL
  • 기존 파일명 (orig_file_name) — not null
  • 저장 파일명 (store_file_name) — not null
  • 순서 (img_seq) — not null

item_wish (물품_찜)

  • 찜 식별자 (wish_id) — not null — Primary key — NOT NULL
  • 유저 식별자 (user_id) — not null — Foreign key → user.유저 식별자 — NOT NULL
  • 물품 식별자 (item_id) — not null — Foreign key → item.물품 식별자 — NOT NULL

lecture (강의)

  • 강의 식별자 (lecture_id) — not null — Primary key — NOT NULL
  • 강의명 (name) — not null
  • 교수명 (professor) — not null

questions (문의사항)

  • 문의사항 식별자 (question_id) — not null — Primary key — NOT NULL
  • 작성자 식별자 (writer_id) — not null — Foreign key → user.유저 식별자 — NOT NULL
  • 제목 (title) — not null
  • 내용 (contents) — not null

review (거래후기)

  • 후기 식별자 (review_id) — not null — Primary key — NOT NULL
  • 작성자 식별자 (writer_id) — not null — Foreign key → user.유저 식별자 — NOT NULL
  • 거래 식별자 (deal_id) — not null — Foreign key → deal.거래 식별자 — NOT NULL
  • 평점 (grade) — not null
  • 내용 (comments) — not null

user (사용자)

  • 유저 식별자 (user_id) — not null — Primary key — NOT NULL
  • 이름 (name)
  • oauthId (oauth_id)
  • 이메일 (email)
  • 닉네임 (nickname) — not null
  • 학생이메일 (univ_email)
  • 프로필사진 (profile_img)
  • 탈퇴 여부 (del_field) — not null