Closhare 시종설
테이블 (16)
Alarm (Untitled13)
- AlarmId (Key) — 기본 키 — NOT NULL
- content (Field)
- USerID (Key2) — 외래 키 → User.USerID — NOT NULL
- createdAt (Field2)
- modifiedAt (Field3)
Chat (Untitled5)
- ChatId (Key) — 기본 키 — NOT NULL
- SellerID (Key2) — 외래 키 → User.USerID — NOT NULL
- ProdurcID (Key3) — 외래 키 → Product.ProdurcID — NOT NULL
- ByuerID (Key4) — 외래 키 → User.USerID — NOT NULL
- status (Field)
- createdAt (Field2)
- modifiedAt (Field3)
Deliveries (Untitled15)
- ID (Key) — 기본 키 — NOT NULL
- company (Field)
- tracking_number (Field2)
- sender_name (Field3)
- receiver_phone (Field4)
- Field5
EscrowStatus (Untitled14)
- id (Key) — 기본 키 — NOT NULL
- PaymentId (Key2) — 외래 키 → payment.PaymentId — NOT NULL
- buyer_confirmed (Field) — booleab
- seller_confirmed (Field2) — boolean
- confirmedAt (Field3)
PrductImg (Untitled10)
- ProductImgId (Key) — 기본 키 — NOT NULL
- ProdurcID (Key2) — 외래 키 → Product.ProdurcID — NOT NULL
- imgUrl (Field)
- createdAt (Field2)
- modifiedAt (Field3)
- sort_order (Field4)
Product (Untitled3)
- ProdurcID (Key) — 기본 키 — NOT NULL
- SellerID (Key2) — 외래 키 → User.USerID — NOT NULL
- title (Field3)
- cost (Field4)
- description (Field5)
- createdAt (Field)
- modifiedAt (Field2)
ProductTags (Untitled9)
- productTagId (Key2) — 기본 키 — NOT NULL
- tagsId (Key) — 외래 키 → tags.tagsId — NOT NULL
- ProductID (Key3) — 외래 키 → Product.ProdurcID — NOT NULL
- createdAt (Field)
- modifiedAt (Field2)
Transaction (Untitled11)
- TransactionId (Key) — 기본 키 — NOT NULL
- status (Field)
- tradeDate (Field5)
- SellerId (Key2) — 외래 키 → User.USerID — NOT NULL
- ProdurcID (Key3) — 외래 키 → Product.ProdurcID — NOT NULL
- BuyerId (Key4) — 외래 키 → User.USerID — NOT NULL
- PaymentId (Key5) — 외래 키 → payment.PaymentId — NOT NULL
- createdAt (Field3)
- modifiedAt (Field4)
- ID (Key6) — 외래 키 → Deliveries.ID — NOT NULL
User (Untitled)
- USerID (Key) — 기본 키 — NOT NULL
- name (Field7)
- email (Field)
- password (Field2)
- account (Field8)
- nickname (Field3)
- createdAt (Field5)
- modifiedAt (Field6)
UserTags (Untitled8)
- Id (Key) — 기본 키 — NOT NULL
- tagsId (Key2) — 외래 키 → tags.tagsId — NOT NULL
- UserID (Key3) — 외래 키 → User.USerID — NOT NULL
- createdAt (Field)
- modifiedAt (Field2)
messages (Untitled16)
- messageId (Key) — 기본 키 — NOT NULL
- ChatId (Key2) — 외래 키 → Chat.ChatId — NOT NULL
- senderId (Field2)
- content (Field3)
- isRead (Field4)
- createdAt (Field5)
- modifiedAt (Field6)
payment (Untitled6)
- PaymentId (Key) — 기본 키 — NOT NULL
- method (Field)
- TotalAmount (Field2)
- product_amount (Field3)
- deposit (Field4)
- status (Field5)
- createdAt (Field6)
- updatedAt (Field7)
- Field8
payout (Untitled12)
- PayoutId (Key) — 기본 키 — NOT NULL
- status (Field)
- TransactionId (Key2) — 외래 키 → Transaction.TransactionId — NOT NULL
- USerID (Key3) — 외래 키 → User.USerID — NOT NULL
tagCategory (Untitled7)
- ID (Key) — 기본 키 — NOT NULL
- typename (Field)
tags (Untitled2)
- tagsId (Key) — 기본 키 — NOT NULL
- ID (Key2) — 외래 키 → tagCategory.ID — NOT NULL
- name (Field)
wishlist (Untitled4)
- wishlistId (Key) — 기본 키 — NOT NULL
- USerID (Key2) — 외래 키 → User.USerID — NOT NULL
- ProdurcID (Key3) — 외래 키 → Product.ProdurcID — NOT NULL
- createdAt (Field)
- modifiedAt (Field2)