apple

Tables (4)

Item (상품)

  • 기종 구분 (seq) — int — Primary key — NOT NULL
  • 기종 이름 (p_name) — mediumtext
  • 가격 (price) — int

Payment (결제)

  • 결재 구분 (seq) — int — Primary key — NOT NULL
  • 결재자 (id) — mediumtext — Foreign key → User.회원 번호 — NOT NULL
  • 주문 상품 (pay_item) — int — Foreign key → Item.기종 구분 — NOT NULL
  • 가격 (pay_price) — int
  • 주문일자 (pay_date) — timestamp
  • 배송지 (pay_arrive) — mediumtext
  • 신용카드번호 (pay_c_num) — mediumtext
  • 카드유효기간 (pay_c_date) — mediumtext
  • 카드CVC번호 (pay_c_cvc) — mediumtext

QnA (고객센터)

  • Q&A구분 (seq) — int — Primary key — NOT NULL
  • 작성 id (id) — mediumtext — Foreign key → User.회원 번호 — NOT NULL
  • 질문 제목 (title) — mediumtext
  • 질문 내용 (content) — mediumtext
  • 답글 단 게시글 번호 (ref) — decimal(8)
  • 게시글/답변 구분 (step) — decimal(8)
  • 1페이지당 게시글 출력 개수 (depth) — decimal(8)
  • 삭제 처리 여부 (del) — decimal(8)
  • 생성일 (created_at) — timestamp
  • 조회수 (read_count) — int

User (계정)

  • 회원 번호 (seq) — int — Primary key — NOT NULL
  • 회원 ID (m_id) — mediumtext
  • 신용카드 번호 (card_num) — mediumtext
  • 카드 유효기간 (card_date) — mediumtext
  • 카드 CVC 번호 (card_cvc) — mediumtext
  • 이름 (m_name) — mediumtext
  • 생년월일 (m_birth) — mediumtext
  • 거주지 (m_address) — mediumtext