carrot-market
Tables (10)
BATGE (뱃지)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- display (뱃지명) — text
- icon (이미지) — image
- condition (획득조건) — text
Chat (채팅방)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- product (상품) — text — Foreign key → Product.Unique_id — NOT NULL
- user (유저) — text — Foreign key → User.Unique_id — NOT NULL
- create_at (생성일) — Date
ChatMessage (채팅메시지)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- create_at (생성일) — Date
- message (채팅메시지) — text
- image (채팅이미지) — image
- chat (채팅방) — Chat — Foreign key → Chat.Unique_id — NOT NULL
Comment (댓글)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- user (작성자) — User — Foreign key → User.Unique_id — NOT NULL
- contents (내용) — text
- create_at (생성일) — Date
- neighborhood (동네생활) — neighborhood — Foreign key → Neighborhood.Unique_id — NOT NULL
Copy Of ChatMessage (CopyOf채팅메시지)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- create_at (생성일) — Date
- date (닐찌) — date
- time (시간) — date
- chat_message (고유아이디2) — ChatMessage — Foreign key → ChatMessage.Unique_id — NOT NULL
- place (장소) — text
Neighborhood (동네생활)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- user (작성자) — User — Foreign key → User.Unique_id — NOT NULL
- subject_category_detail (게시글주제) — SUBJECT_CATEGORY_DETAIL
- create_at (생성일) — Date
- title (제목) — text
- contents (내용) — text
- neiborhood_type (동네) — NEIGHBORHOOD_TYPE
- view_count (조회수) — number
- rank (조회수+댓글수) — number
Product (상품)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- product_image (상품이미지) — List<image>
- title (제목) — text
- contents (설명) — text
- category (카테고리) — CATEGORY_TYPE
- price (가격) — number
- userlike (좋아요) — List<User> — Foreign key → User.Unique_id — NOT NULL
- product_state (상품상태) — PRODUCT_STATE
- seller (판매자) — User — Foreign key → User.Unique_id — NOT NULL
- buyer (구매자) — User — Foreign key → User.Unique_id — NOT NULL
- create_at (생성일) — Date
- neighborhood_type (동네) — NEIGHBORHOOD_TYPE
- Field
SUBJECT_CATEGORY (동네생활 카테고리)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- display (카테고리명) — text
- icon (아이콘) — image
SUBJECT_CATEGORY_DETAIL (동네생활 카테고리 상세)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- display (카테고리명상세) — text
- category (동네생활 카테고리) — SUBJECT_CATEGORY — Foreign key → SUBJECT_CATEGORY.Unique_id — NOT NULL
User (유저)
- Unique_id (고유아이디) — text — Primary key — NOT NULL
- email (이메일) — text
- nickname (닉네임) — text
- neighborhood (동네) — NEIGHBORHOOD_TYPE
- profile_image (프로필이미지) — image
- badge (뱃지) — List<BADGE>