practice

Tables (21)

FnQ

  • fq_idx — int
  • qat_idx — int — Foreign key → QnAType.qat_idx
  • fq_subject — varchar(200) — NOT NULL
  • fq_content — varchar(2000) — NOT NULL
  • fq_regdate — datetime

Member

  • mem_idx — int — Primary key — NOT NULL
  • mem_id — varchar(100) — NOT NULL
  • mem_pwd — VARCHAR(255) — NOT NULL
  • mem_name — varchar(100) — NOT NULL
  • mem_age — int — NOT NULL
  • mem_email — varchar(100) — NOT NULL
  • mem_phone — varchar(30) — NOT NULL
  • mem_regdate — datetime
  • mem_role — varchar(20)
  • mem_use — varchar(1)
  • mem_addr — varchar(100) — NOT NULL
  • mem_zipcode — varchar(100) — NOT NULL

Q&A

  • qa_idx — int — Primary key — NOT NULL
  • qat_idx — int — Foreign key → QnAType.qat_idx
  • mem_idx — int
  • qa_subject — varchar(100) — NOT NULL
  • qa_content — varchar(1000) — NOT NULL
  • qa_pwd — varchar(100) — NOT NULL
  • qa_filename — varchar(100)
  • qa_ref — int
  • qa_deptth — int — NOT NULL
  • qa_deleted — char(1) — NOT NULL
  • qa_regdate — datetime
  • b_idx — int — null이면 플랫폼 문의 / b_idx =1이면 1번 브랜드 문의

QnAType

  • qat_idx — int
  • qat_name — varchar(50) — NOT NULL

WeatherCondition

  • wc_idx — int
  • wc_name — varchar(100) — NOT NULL
  • wc_row — int — NOT NULL
  • wc_high — int — NOT NULL

bookmark

  • mem_idx — int — Foreign key → Member.mem_idx — NOT NULL
  • Field — VARCHAR(255)
  • b_idx — int — Foreign key → brand.b_idx

brand

  • b_idx — int
  • b_name — varchar(100)
  • b_head — varvhar(100)
  • b_image — varchar(100)
  • b_shopno — int
  • b_reportno — int
  • b_email — varchar(100)
  • b_phone — varchar(100)
  • b_introduce — varchar(300)
  • b_id — varchar(100)
  • b_pwd — varchar(100)
  • b_regdate — datetime
  • b_use — char(1)
  • b_status — char(1)

cart

  • option_idx — int — Foreign key → product_option.option_idx — NOT NULL
  • mem_idx — int — Foreign key → Member.mem_idx — NOT NULL
  • ca_idx — int
  • cate_idx — int — Foreign key → product_option.cate_idx
  • ca_cnt — int — NOT NULL

category

  • cate_big_idx — int — Foreign key → category_big.cate_big_idx
  • cate_name — varchar(50)
  • cate_idx — int

category_big

  • cate_big_idx — int
  • cate_name1 — varchar(100) — NOT NULL

exchange

  • mem_idx — int — Foreign key → Member.mem_idx — NOT NULL
  • option_idx — int — Foreign key → orderDetail.option_idx — NOT NULL
  • ex_idx — int
  • od_idx — int — Foreign key → orderDetail.od_idx
  • cate_idx — int — Foreign key → orderDetail.cate_idx
  • ex_reason — varchar(300) — NOT NULL
  • ex_image — varchar(100)
  • ex_regdate — datetime
  • ex_option — int
  • ex_name — varchar(100)
  • ex_account — varchar(200)
  • ex_bank — varchar(100)

notice

  • notice_idx — int — Primary key — NOT NULL
  • nodice_subject — varchar(100) — NOT NULL
  • notice_content — varchar(500) — NOT NULL
  • notice_regdate — datetime
  • notice_deleted — char(1) — NOT NULL

orderDetail

  • to_idx — int — Foreign key → totalOrder.to_idx — NOT NULL
  • mem_idx — int — Foreign key → totalOrder.mem_idx — NOT NULL
  • sta_idx — int — Foreign key → status.sta_idx — NOT NULL
  • option_idx — int — Foreign key → product_option.option_idx — NOT NULL
  • od_idx — int
  • cate_idx — int — Foreign key → product_option.cate_idx
  • od_amount — int — NOT NULL
  • od_price — VARCHAR(255) — NOT NULL — 주문 당시 금액
  • od_number — VARCHAR(255)

product

  • pro_idx — int — Primary key — NOT NULL
  • wc_idx — int — Foreign key → WeatherCondition.wc_idx — NOT NULL
  • b_idx — int — Foreign key → brand.b_idx
  • cate_idx — int — Foreign key → category.cate_idx
  • pro_name — varchar(200) — NOT NULL
  • pro_image — varchar(200) — NOT NULL
  • pro_content — varchar(1000)
  • pro_image_detail — varchar(200) — NOT NULL
  • pro_price — int — NOT NULL
  • pro_sale — int — NOT NULL
  • pro_regdate — datetime
  • pro_deleted — char(1) — NOT NULL

product_In&Out

  • option_idx — int — Foreign key → product_option.option_idx — NOT NULL
  • mem_idx — int — Foreign key → Member.mem_idx — NOT NULL
  • io_idx — int
  • od_idx — int — Foreign key → orderDetail.od_idx
  • cate_idx — int — Foreign key → product_option.cate_idx
  • io_cnt — int
  • io_status — char(3) — NOT NULL
  • io_regdate — datetime
  • io_type — varchar(50)

product_option

  • option_idx — int — Primary key — NOT NULL
  • pro_idx — int — Foreign key → product.pro_idx — NOT NULL
  • cate_idx — int — Foreign key → product.cate_idx
  • option_size — varchar(50) — NOT NULL
  • option_color — varchar(50) — NOT NULL
  • option_cnt — int

review

  • review_idx — int — Primary key — NOT NULL
  • pro_idx — int — NOT NULL
  • mem_idx — int — NOT NULL
  • review_content — varchar(300) — NOT NULL
  • review_regdate — datetime
  • cate_idx — int

status

  • sta_idx — int — Primary key — NOT NULL
  • sta_name — varchar(50) — NOT NULL

totalOrder

  • mem_idx — int — Foreign key → Member.mem_idx — NOT NULL
  • to_idx — int
  • to_payment — varchar(100) — NOT NULL
  • to_date — datetime
  • to_name — varchar(100)
  • to_addr — varchar(300)
  • to_addr_detail — varchar(100)
  • to_tel — varchar(100)
  • to_req — varchar(100)
  • to_itemCNT — int

weather

  • we_idx — int
  • we_local — varchar(100) — NOT NULL
  • we_name — varchar(100) — NOT NULL
  • we_temp — int — NOT NULL
  • we_regdate — datetime — NOT NULL

wishlist

  • wish_idx — int — Primary key — NOT NULL
  • mem_idx — int — NOT NULL
  • pro_idx — int — NOT NULL