be-cus

Tables (7)

G_consult (일반 문의서)

  • id — Primary key — NOT NULL
  • 업체명/주문자명 (gc_name)
  • 이메일 (gc_email)
  • 전화번호 (gc_phone)
  • 문의유형 (gc_type)
  • 문의상품 (gc_product) — Foreign key → Product.id — NOT NULL
  • 기타사항 (gc_content)
  • 작성일 (gc_createdAt)
  • 작성자 (gc_author) — Foreign key → User.id — NOT NULL
  • 상태 (gc_status)

Maintenance (수리 조치)

  • id — Primary key — NOT NULL
  • 수리 유형 (m_type)
  • 수리 조치 제목 (m_title)
  • 수리 조치 내용 (m_content)
  • 설명 타입 (m_content_type)
  • 상품 (p_id) — Foreign key → Product.id — NOT NULL

Order (주문서)

  • id — Primary key — NOT NULL
  • 업체명/주문자명 (o_name)
  • 이메일 (o_email)
  • 전화번호 (o_phone)
  • 주문상품 (o_product) — Foreign key → Product.id — NOT NULL
  • 상품개수 (o_amount)
  • 주소 (o_address)
  • 기타사항 (o_content)
  • 작성일 (o_createdAt)
  • 상태 (o_status)
  • 작성자 (o_author) — Foreign key → User.id — NOT NULL

P_consult (특정 상품 문의서)

  • id — Primary key — NOT NULL
  • 업체명/주문자명 (pc_name)
  • 이메일 (pc_email)
  • 전화번호 (pc_phone)
  • 기타사항 (pc_content)
  • 문의상품 (pc_product) — Foreign key → Product.id — NOT NULL
  • 작성일 (pc_createdAt)
  • 상태 (pc_status)
  • 작성자 (pc_author) — Foreign key → User.id — NOT NULL

Product (상품)

  • id — Primary key — NOT NULL
  • 모델품번 (p_number)
  • 모델명 (p_name)
  • 모델설명 (p_content)
  • 모델사진 (p_picture)
  • 시연영상 (p_video)
  • 사용방법 (p_manual)

Repair (AS 요청서)

  • id — Primary key — NOT NULL
  • 업체명/주문자명 (r_name)
  • 이메일 (r_email)
  • 전화번호 (r_phone)
  • 수리상품 (r_product) — Foreign key → Product.id — NOT NULL
  • 수리유형 (r_type)
  • 요청내용 (r_content)
  • 작성일 (r_createdAt)
  • 상태 (r_status)
  • 작성자 (r_author) — Foreign key → User.id — NOT NULL

User (회원)

  • id — Primary key — NOT NULL
  • 이메일 (email)
  • 이름 (name)
  • 전화번호 (phone)
  • 권한 (role)
  • 승인 여부 (approval)