GoodsTrade
Tables (5)
Copy Of category (CopyOfcategory)
- PK (id) — PK — Primary key — NOT NULL
- 카테고리 ID (categoryId) — unique, not null
- 카테고리 이름 (categoryName) — not null
category
- PK (id) — PK — Primary key — NOT NULL
- 카테고리 ID (categoryId) — unique, not null
- 카테고리 이름 (categoryName) — not null
postPurchases
- PK (id) — PK — Primary key — NOT NULL
- FK (userId) — FK(user.id) — Foreign key → user.PK — NOT NULL
- FK (categoryId) — FK(category.id) — Foreign key → category.PK — NOT NULL
- 제목 (title) — not null
- 내용 (description) — not null
- 댓글 (comment) — not null
- 휴대전화 (phone) — not null
- 지역 (location) — not null
- 작성일자 (createdAt)
- 수정일자 (updatedAt)
- 삭제일자 (deletedAt)
postSales
- PK (id) — PK — Primary key — NOT NULL
- FK (userId) — FK(user.id) — Foreign key → user.PK — NOT NULL
- FK (categoryId) — FK(category.id) — Foreign key → category.PK — NOT NULL
- 제목 (title) — not null
- 내용 (description) — not null
- 댓글 (comment) — not null
- 휴대전화 (phone) — not null
- 지역 (location) — not null
- 작성일자 (createdAt)
- 수정일자 (updatedAt)
- 삭제일자 (deletedAt)
user
- PK (id) — PK — Primary key — NOT NULL
- 사용자 ID (userId) — unique, not null
- 닉네임 (name) — unique, not null
- 비밀번호 (password) — not null
- 휴대전화 (phone) — not null
- 지역 (location) — not null
- 가입일자 (createdAt)
- 수정일자 (updatedAt)
- 삭제일자 (deletedAt)