이윤배
테이블 (14)
address (사용자주소)
- address_Id (사용자주소번호) — 기본 키 — NOT NULL
- user_Number (유저번호) — 외래 키 → user.user_number — NOT NULL
- city_Id (주소번호) — 외래 키 → city.city_Id
admin (관리자)
- admin_Number (관리자번호) — 기본 키 — NOT NULL
- admin_Id (관리자아이디)
- admin_Pw (관리자비밀번호)
category (카테고리)
- category_Id (카테고리번호) — 기본 키 — NOT NULL
- category_Name (카테고리이름)
chattingContent (채팅내용)
- chatting_ContentId (채팅내용번호) — 기본 키 — NOT NULL
- chatting_RoomId (채팅방번호) — 외래 키 → chattingRoom.chatting_RoomId — NOT NULL
- user_Number (유저번호) — 외래 키 → user.user_number — NOT NULL
- contents (채팅내용)
- chatting_Time (채팅시간)
chattingRoom (채팅목록)
- chatting_RoomId (채팅방번호) — 기본 키 — NOT NULL
- seller_user_number (판매자Id)
- buyer_user_number (구매자Id)
- post_Id (게시물번호) — 외래 키 → post.post_Id — NOT NULL
city (행정구역)
- city_Id (주소번호) — 기본 키
- city_Name (도시)
- district (상세주소)
endDeal (거래종료된 게시물)
- endDeal_Id (거래종료번호) — 기본 키 — NOT NULL
- seller_user_number (판매자Id)
- buyer_user_number (구매자Id)
- post_Id (게시물번호) — 외래 키 → post.post_Id — NOT NULL
- endDeal_Date (거래완료날짜)
post (상품)
- post_Id (게시물번호) — 기본 키 — NOT NULL
- user_number (유저번호)
- title (제목)
- category_Id (카테고리번호) — 외래 키 → category.category_Id — NOT NULL
- price (가격)
- created (게시물업로드시간)
- updated (끌올시간)
- post_view (조회수)
- Field
- Field2
postContent (Untitled)
- post_Id (게시물번호2) — 외래 키 → post.post_Id — NOT NULL
- content (게시물내용)
postImage (게시물이미지)
- post_ImageId (이미지번호) — 기본 키 — NOT NULL
- post_Id (게시물번호) — 외래 키 → post.post_Id — NOT NULL
- image_URL (이미지URL)
report (신고목록)
- report_Id (신고번호) — 기본 키
- report_Type (신고타입)
- report_Detail (신고게시물번호)
- user_number (유저번호) — 외래 키 → user.user_number — NOT NULL
- report_Content (신고내용)
review (거래후기)
- review_Id (리뷰번호) — 기본 키 — NOT NULL
- endDeal_Id (거래종료번호) — 외래 키 → endDeal.endDeal_Id — NOT NULL
- user_number (유저번호)
- Field
- rating (평가)
- review_Contents (리뷰내용(text))
user (유저)
- user_number (유저번호) — 기본 키 — NOT NULL
- user_name (유저이름)
- user_Id (유저아이디)
- user_pw (유저비밀번호)
- nick_name (유저닉네임)
- phone_number (유저핸드폰번호)
- email (유저이메일)
- user_image (유저이미지)
- banned_Date (정지날짜)
wishList (찜목록)
- wishList_Id (찜번호) — 기본 키
- user_Number (유저번호) — 외래 키 → user.user_number — NOT NULL
- post_Id (게시물번호) — 외래 키 → post.post_Id — NOT NULL