빵탄소년단
테이블 (9)
account
- 계좌 아이디 (account_id) — not null — 기본 키 — NOT NULL
- 유저 아이디 (user_id) — not null — 외래 키 → user.유저 아이디 — NOT NULL
- 은행코드 (bank_code) — not null
- 은행명 (bank_name) — not null
- 예금주명 (username) — not null
- 계좌번호 (account_no) — not null
- 상품명 (account_name) — not null
- 상품구분코드 (account_type_code) — not null
- 상품종류명 (accountTypeName) — not null
- 계좌개설일 (account_create_date) — not null
- 계좌만기일 (account_expriy_date) — not null
- 1일이체한도 (daily_transfer_limit) — not null
- 1회이체한도 (one_time_transfer_limit) — not null
bakery
- 빵집 아이디 (bakery_id) — not null — 기본 키 — NOT NULL
- 사장님 아이디 (user_id) — not null — 외래 키 → user.유저 아이디 — NOT NULL
- 빵집 이름 (name) — not null
- 사업자 번호 (bussiness_number) — not null
- 홈페이지 URL (homepage_url) — null
- 주소 (address) — not null
- 전화번호 (phone) — not null
- 인증 날짜 (authentication_date) — null
- 인증 여부 (authenticated) — not null
- 수정일 (modified_at) — not null
- 생성일 (created_at) — not null
- 리뷰 개수 (review_count) — not null
- 평균 평점 (average_score) — not null
bookmark
- 북마크 아이디 (bookmark_id) — not null — 기본 키 — NOT NULL
- 유저 아이디 (user_id) — not null — 외래 키 → user.유저 아이디 — NOT NULL
- 빵집 아이디 (bakery_id) — not null — 외래 키 → bakery.빵집 아이디 — NOT NULL
order
- 상품 아이디 (order_id) — not null — 기본 키 — NOT NULL
- 빵집 아이디 (bakery_id) — not null — 외래 키 → bakery.빵집 아이디 — NOT NULL
- 판매자 아이디 (seller_id) — not null — 외래 키 → user.유저 아이디 — NOT NULL
- 칸 아이디 (space_id) — not null — 외래 키 → space.칸 아이디 — NOT NULL
- 구매자 아이디 (buyer_id) — null
- 원가 (price) — not null
- 할인율 (discount) — not null
- 수량 (count) — not null
- 이미지 (image) — not null
- 유통기한 (expiration_date) — not null
- 상품 상태 (product_state) — not null
- 빵종류 (bread_type) — not null
- 생성일 (created_at) — not null
- 수정일 (modified_at) — not null
review
- 리뷰 아이디 (review_id) — not null — 기본 키 — NOT NULL
- 유저 아이디 (user_id) — not null — 외래 키 → user.유저 아이디 — NOT NULL
- 빵집 아이디 (bakery_id) — not null — 외래 키 → bakery.빵집 아이디 — NOT NULL
- 내용 (content) — null
- 별점 (score) — not null
- 리뷰 이미지들 (image_urls) — null
- 생성일 (created_at) — not null
- 수정일 (modified_at) — not null
space
- 칸 아이디 (space_id) — not null — 기본 키 — NOT NULL
- 자판기 아이디 (vending_machine_id) — not null — 외래 키 → vending_machine.자판기 아이디 — NOT NULL
- 점유 여부 (occupied) — not null
- 행 (height) — not null
- 열 (width) — not null
- 삭제여부 (deleted) — not null
transaction
- 거래 아이디 (transaction_id) — not null — 기본 키 — NOT NULL
- 주문아이디 (order_id) — not null
- 송신 계좌 번호 (sender_account) — not null
- 수신 계좌 번호 (receiver_account) — not null
- 보낸 금액 (transaction_balance) — not null
- 거래일 (transaction_date) — not null
- 거래타입 (transaction_type) — not null
- 거래상태 (transcation_status) — not nul,
user
- 유저 아이디 (user_id) — not null — 기본 키 — NOT NULL
- 소셜 아이디 (social_id) — not null
- 유저 역할 (user_role) — not null
- 유저 이름 (name) — not null
- 이메일 (email) — not null
- 알림여부 (notice_check) — not null
- 삭제여부 (deleted) — not null
- 티켓수 (tickets) — not null
- 생성일 (created_at) — not null
- 수정일 (modified_at) — not null
vending_machine
- 자판기 아이디 (vending_machine_id) — not null — 기본 키 — NOT NULL
- 위경도 (point) — not null
- 자판기 이미지 (image_urls) — not null
- 장소 설명 (memo) — not null
- 잔여칸 수 (available_count) — not null
- 전체칸 수 (total_count) — not null
- 삭제여부 (deleted) — not null
- 전체 행 (height) — not null
- 전체 열 (width) — not null