yongki-nanum
Tables (17)
Address (address_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 유저 주소 (address) — NOT NULL
- 유저 (user) — NOT NULL — Foreign key → User.고유ID
Brand (brand_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 브랜드명 (brandName) — NOT NULL
- 브랜드 상표 (image) — NOT NULL
Cart (cart_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 옵션 개수 (quantity) — NOT NULL
- 옵션 (option_tb_idx) — NOT NULL — Foreign key → Option.고유ID — NOT NULL
- 유저 (user_tb_idx) — NOT NULL — Foreign key → User.고유ID
Chat (chat_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 채팅방 제목 (title) — NOT NULL
- 생성 일시 (createAt) — NOT NULL
- 삭제 여부 (delete) — NOT NULL
- 게시물 (post_tb_idx) — NOT NULL — Foreign key → Post.고유ID — NOT NULL
Delivery (delivery_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 주소 (address) — NOT NULL
- 배달 상태 (status) — NOT NULL
- 주문 (order_tb_idx) — NOT NULL — Foreign key → Order.고유ID — NOT NULL
- 유저 (user_tb_idx) — NOT NULL — Foreign key → User.고유ID
Item (item_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 옵션개수 (quantity) — NOT NULL
- 총 가격 (price) — NOT NULL
- 주문일시 (createAt) — NOT NULL
- 취소여부 (cancel) — NOT NULL
- 주문 (order_tb_idx) — NOT NULL — Foreign key → Order.고유ID — NOT NULL
- 옵션 (option_tb_idx) — NOT NULL — Foreign key → Menu.고유ID — NOT NULL
- 가게 (shop_tb_idx) — NOT NULL — Foreign key → Shop.고유ID — NOT NULL
Member (member_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 채팅방 (chat_tb_idx) — NOT NULL — Foreign key → Chat.고유ID — NOT NULL
- 유저 (user_tb_idx) — NOT NULL — Foreign key → User.고유ID
Menu (menu_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 메뉴 이름 (menuName) — NOT NULL
- 메뉴 설명 (discription) — NOT NULL
- 브랜드 (brand_tb_idx) — NOT NULL — Foreign key → Brand.고유ID — NOT NULL
Message (message_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 내용 (content) — NOT NULL
- 작성 일시 (createAt) — NOT NULL
- 유저 (user_tb_idx) — NOT NULL — Foreign key → User.고유ID
- 채팅방 (char_tb_idx) — NOT NULL — Foreign key → Chat.고유ID — NOT NULL
Notice (notice_tb)
- 고유 ID (idx) — NOT NULL — Primary key — NOT NULL
- 내용 (content) — NOT NULL
- 작성 일시 (createAt) — NOT NULL
- 유저 (user_tb_idx) — NOT NULL — Foreign key → User.고유ID
Option (option_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 옵션 이름 (optionName) — NOT NULL
- 옵션 가격 (price) — NOT NULL
- 메뉴 (menu) — NOT NULL — Foreign key → Menu.고유ID — NOT NULL
Order (order_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 유저 (user_tb_idx) — NOT NULL — Foreign key → User.고유ID
Post (post_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 제목 (title) — NOT NULL
- 내용 (content) — NOT NULL
- 공유 시간 (time) — NOT NULL
- 공유 장소 (place) — NOT NULL
- 공유 인원 (people) — NOT NULL
- 작성 일시 (createAt) — NOT NULL
- 삭제 여부 (delete) — NOT NULL
- 유저 (user_tb_idx) — NOT NULL — Foreign key → User.고유ID
- 가게 (shop_tb_idx) — NOT NULL — Foreign key → Shop.고유ID — NOT NULL
- 옵션 (option_tb_idx) — NOT NULL — Foreign key → Option.고유ID — NOT NULL
Review (review_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 내용 (content) — NOT NULL
- 별점 (starPoint) — NULL
- 작성 일자 (createAt) — NOT NULL
- 유저 (user_tb_idx) — NOT NULL — Foreign key → User.고유ID
- 가게 (shop_tb_idx) — NOT NULL — Foreign key → Shop.고유ID — NOT NULL
- 주문 (order_tb_idx) — NOT NULL — Foreign key → Order.고유ID — NOT NULL
Share (share_tb)
- 고유 ID (idx) — NOT NULL — Primary key — NOT NULL
- 선택 개수 (quantity) — NOT NULL
- 게시물 (post_tb_idx) — NOT NULL — Foreign key → Post.고유ID — NOT NULL
- 옵션 (option_tb_idx) — NOT NULL — Foreign key → Option.고유ID — NOT NULL
Shop (shop_tb)
- 고유ID (idx) — NOT NULL — Primary key — NOT NULL
- 가게 이름 (shopName) — NOT NULL
- 가게 주소 (shopAddress) — NOT NULL
- 가게 설명 (descriptopn) — NOT NULL
- 별점 (starPoint) — NULL
- 주문수 (orderCount) — NULL
- 삭제 여부 (unregist) — NOT NULL
- 배달팁 (tip) — NOT NULL
- 브랜드 (brand_tb_idx) — NOT NULL — Foreign key → Brand.고유ID — NOT NULL
- 유저 (user_tb_idx) — NOT NULL — Foreign key → User.고유ID
User (user_tb)
- 고유ID (idx) — NOT NULL — Primary key
- 유저 이름 (userName) — NOT NULL
- 유저 아이디 (userId) — NOT NULL
- 유저 패스워드 (password) — NOT NULL
- 유저 권한 (role) — NOT NULL
- 계정 생성 일시 (createAt) — NOT NULL
- 탈퇴 여부 (unregist) — NOT NULL