daITso

Tables (13)

QA (고객센터)

  • QA_번호 (QA_no) — INT — Primary key — NOT NULL
  • QA_작성자 (QA_writer) — VARCAHR(15)
  • QA_제목 (QA_title) — VARCHAR(100)
  • QA_내용 (QA_content) — VARCHAR(300)
  • QA_답변체크여부 (QA_check) — VARCHAR(20)
  • QA_답변 (QA_reply) — VARCHAR(300)
  • QA_답변작성자 (QA_reply_writer) — VARCAHR(15)

admin (관리자)

  • 관리자 아이디 (admin_id) — VARCHAR(15) — Primary key — NOT NULL
  • 비밀번호 (admin_passwd) — VARCHAR(20)
  • 이름 (admin_name) — VARCHAR(5)
  • 주소 (admin_address) — VARCHAR(50)
  • 우편번호 (admin_zipcode) — VARCHAR(10)
  • 전화번호 (admin_phone) — VARCHAR(15)
  • 이메일 (admin_email) — VARCHAR(30)

bdiv (대분류)

  • 대분류번호 (bdiv_no) — INT — Primary key — NOT NULL
  • 대분류이름 (bdiv_name) — VARCHAR(20)

customer (구매자)

  • 구매자 아이디 (customer_id) — VARCHAR(15) — Primary key — NOT NULL
  • 구매자 비밀번호 (customer_passwd) — VARCHAR(20)
  • 구매자 이름 (customer_name) — VARCHAR(5)
  • 구매자 주소 (customer_address) — VARCHAR(50)
  • 구매자 우편번호 (customer_zipcode) — VARCHAR(10)
  • 구매자 전화번호 (customer_phone) — VARCHAR(15)
  • 구매자 이메일 (customer_email) — VARCHAR(30)
  • 구매자 소지금액 (customer_money) — INT

point (포인트)

  • 충전내역번호 (charge_no) — INT — Primary key — NOT NULL
  • 구매자 아이디 (customer_id) — VARCHAR(15) — Foreign key → customer.구매자 아이디 — NOT NULL
  • 충전금액 (Charge_amount) — INT
  • 충전날짜 (Charge_time) — TIMESTAMP
  • 충전완료여부 (Charge_complete) — INT
  • 충전완료날짜 (Charge_complete_time) — TIMESTAMP

product (제품)

  • 제품번호 (product_no) — INT — Primary key — NOT NULL
  • 제품이름 (product_name) — VARCHAR(50)
  • 상세 스펙 (detail_description) — VARCHAR(300)
  • 제품가격 (product_price) — INT
  • 수량 (product_quantity) — INT
  • 구매횟수 (purchase_count) — INT
  • 제품세일 (product_sale) — INT
  • 등록시간 (registration_time) — TIMESTAMP
  • 모니터 인치 수 (moniter_inch) — INT
  • 총 평점 (total_grade) — INT
  • 제품이미지 (product_img) — INT
  • 제품썸네일 (product_thumb_img) — INT
  • 제품상세이미지 (product_detail_img) — INT
  • 판매자 아이디 (seller_id) — VARCHAR(15) — Foreign key → seller.판매자 아이디
  • 대분류번호 (bdiv_no) — INT — Foreign key → bdiv.대분류번호 — NOT NULL
  • 소분류번호 (sdiv_no) — INT — Foreign key → sdiv.소분류번호 — NOT NULL

review (리뷰)

  • 구매자 아이디 (customer_id) — VARCHAR(15) — Primary key — NOT NULL
  • 제품번호 (product_no) — INT — Foreign key → product.제품번호 — NOT NULL
  • 리뷰내용 (review_comment) — VARCHAR(100)
  • 리뷰시간 (review_time) — TIMESTAMP
  • 별점 (review_grade) — INT

sdiv (소분류)

  • 소분류번호 (sdiv_no) — INT — Primary key — NOT NULL
  • 소분류이름 (sdiv_name) — VARCHAR(20)

seller (판매자)

  • 판매자 아이디 (seller_id) — VARCHAR(15) — Primary key
  • 판매자 비밀번호 (seller_passwd) — VARCHAR(20)
  • 판매자 이름 (seller_name) — VARCHAR(5)
  • 판매자 우편번호 (seller_zipcode) — VARCHAR(10)
  • 판매자주소 (seller_address) — VARCHAR(30)
  • 판매자 휴대폰 번호 (seller_mobile) — VARCHAR(15)
  • 판매자 이메일 (seller_email) — VARCHAR(30)
  • 사업자등록번호 (company_number) — VARCHAR(20)
  • 회사명 (company_name) — VARCHAR(15) — NOT NULL
  • 판매자 소지금액 (seller_money) — INT

session (세션)

  • 세션 아이디 (session_id) — varchar(128) — Primary key — NOT NULL
  • 고유번호 (expires) — INT
  • 데이터 (data) — mediumtext

shoppingcart (장바구니)

  • 제품번호 (product_no) — INT — Foreign key → product.제품번호 — NOT NULL
  • 구매자 아이디 (customer_id) — VARCHAR(15) — Foreign key → customer.구매자 아이디 — NOT NULL
  • 구매갯수 (shoppingcart_quantity) — INT
  • 주문금액 (order_amount) — INT

transaction (거래내역)

  • 거래내역번호 (transaction_no) — INT — Primary key — NOT NULL
  • 구매자 아이디 (customer_id) — VARCHAR(15) — Foreign key → customer.구매자 아이디 — NOT NULL
  • 제품번호 (product_no) — INT — Foreign key → product.제품번호 — NOT NULL
  • 거래시간 (transaction_time) — TIMESTAMP
  • 구매갯수 (transaction_quantity) — INT
  • 주문금액 (order_amount) — INT
  • 배송메모 (delivery_memo) — VARCHAR(20)
  • 거래완료 (transaction_complete) — INT

withdraw (출금)

  • 출금내역번호 (withdraw_no) — INT — Primary key — NOT NULL
  • 판매자 아이디 (seller_id) — VARCHAR(15) — Foreign key → seller.판매자 아이디
  • 출금할 금액 (withdraw_amount) — INT
  • 출금신청날짜 (withdraw_time) — TIMESTAMP
  • 출금완료여부 (withdraw_complete) — INT
  • 출금완료날짜 (withdraw_complete_time) — INT