daesed-erd

Tables (11)

address (Untitled4)

  • address_id (Key) — Primary key — NOT NULL — 주소아이디
  • address_name (Field) — 주소명
  • address_detail (Field2) — 상세주소
  • address_zipcode (Field3) — 우편번호
  • address_road (Field4) — 도로명주소
  • user_id (Key2) — Foreign key → users.user_id — NOT NULL — 유저아이디

category (Untitled6)

  • category_id (Key) — Primary key — NOT NULL — 카테고리아이디
  • category_name (Field) — 카테고리 상세명

clothes (Untitled7)

  • clothes_id (Key) — Primary key — NOT NULL — 옷아이디
  • clothes_name (Field) — 옷 이름
  • laundry_cost (Field2) — 세탁 가격

delivery (Untitled13)

  • delivery_id (Key) — Primary key — NOT NULL — 주문 아이디
  • user_id (Key2) — Foreign key → users.user_id — NOT NULL — 유저아이디
  • order_id (Key3) — Foreign key → orders.order_id — NOT NULL — 주문아이디
  • address_id (Key4) — Foreign key → address.address_id — NOT NULL — 주소아이디
  • delivery_status (Field) — 배송상태
  • reg_time (Field2) — 등록시간
  • mod_time (Field3) — 수정시간

notice (Untitled3)

  • notice_id (Key) — Primary key — NOT NULL — 공지사항 아이디
  • notice_title (Field4) — 공지사항 제목
  • notice_content (Field3) — 공지사항 내용
  • notice_category (Field2) — 공지사항 카테고리
  • mod_time (Field) — 수정시간
  • reg_time (Field5) — 등록시간

order_clothes (Untitled8)

  • clothes_id (Key2) — Foreign key → clothes.clothes_id — NOT NULL — 옷 아이디
  • order_id (Key3) — Foreign key → orders.order_id — NOT NULL — 주문 아이디
  • count (Field) — 개수

orders (Untitled5)

  • order_id (Key) — Primary key — NOT NULL — 주문아이디
  • reg_time (Field) — 등록시간
  • mod_time (Field2) — 수정시간
  • delivery_date (Field3) — 배달시간
  • delivery_location (Field4) — 배달위치
  • order_status (Field5) — 주문상태
  • pickup_date (Field6) — 수거시간
  • total_price (Field7) — 총합
  • washing_method (Field8) — 세탁방법
  • user_id (Key2) — Foreign key → users.user_id — NOT NULL — 유저아이디
  • address_id (Key3) — Foreign key → address.address_id — NOT NULL — 주소아이디

post (Untitled10)

  • post_id (Key) — Primary key — NOT NULL — 게시판 아이디
  • post_category (Field) — 게시판 카테고리
  • post_title (Field3) — 게시판 제목
  • post_content (Field2) — 게시판 내용
  • reg_time (Field4) — 등록시간
  • mod_time (Field5) — 수정시간
  • user_id (Key2) — Foreign key → users.user_id — NOT NULL — 유저아이디

reply (Untitled12)

  • reply_id (Key) — Primary key — NOT NULL — 댓글 아이디
  • user_id (Key3) — Foreign key → users.user_id — NOT NULL — 유저 아이디
  • post_id (Key2) — Foreign key → post.post_id — NOT NULL — 게시판 아이디
  • mod_time (Field) — 수정시간
  • reg_time (Field2) — 등록시간
  • reply_content (Field3) — 댓글 내용

review (Untitled9)

  • review_id (Key) — Primary key — NOT NULL — 리뷰 아이디
  • user_id (Key3) — Foreign key → users.user_id — NOT NULL — 유저아이디
  • order_id (Key2) — Foreign key → orders.order_id — NOT NULL — 주문아이디
  • image_path (Field) — 이미지 경로
  • mod_time (Field2) — 수정시간
  • rating (Field3) — 리뷰 별점
  • reg_time (Field4) — 등록시간
  • review_content (Field5) — 리뷰내용
  • review_title (Field6) — 리뷰제목
  • user_nickname (Field7) — 해당 유저의 별명

users (Untitled)

  • user_id (Key) — Primary key — NOT NULL — 유저 아이디
  • user_name (Field) — 이름
  • user_email (Field3) — 이메일
  • user_nickname (Field2) — 별명
  • user_password (Field4) — 비밀번호
  • user_phone (Field5) — 전화번호