Market Mate
Tables (3)
Store (가게)
- 가게ID (StoreId) — NOT NULL — Primary key — NOT NULL
- 사업자 번호 (business_number) — NOT NULL
- 가게이름 (Storename) — NOT NULL
- 우편번호 (zipcode) — NOT NULL
- 주소 (address) — NOT NULL
- 시도 (sido) — NOT NULL
- 동 (bname) — NOT NULL
- 상세주소 (addressDetail) — NOT NULL
- 가게사진 (storeImage) — NOT NULL
- Field
- 회원ID (userId) — NOT NULL — Foreign key → user.회원ID — NOT NULL
menu (메뉴)
- 메뉴Id (menuId) — NOT NULL — Primary key — NOT NULL
- 메뉴이름 (menuname) — NOT NULL
- 가격 (price) — NOT NULL
- 메뉴사진 (menuImage) — NOT NULL
- 메뉴설명 (menudescription) — NOT NULL
- 가게ID (storeId) — NOT NULL
- Field
- 가게ID (StoreId) — NOT NULL — Foreign key → Store.가게ID — NOT NULL
user (회원)
- 회원ID (userId) — NOT NULL — Primary key — NOT NULL
- 회원이름 (Username) — NOT NULL
- password (비밀번호) — NOT NULL
- 이메일 (email) — NOT NULL
- 전화번호 (mobile) — NOT NULL
- 성별 (gender) — NULL
- 나이 (age) — NULL
- Field