Yep
Tables (13)
ChatParticipant (tb_chatparticipant)
- 식별자 (participant_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (chatroom_id) — NOT NULL — Foreign key → ChatRoom.식별자 — NOT NULL
- 식별자 (user_id) — NOT NULL — Foreign key → User.식별자 — NOT NULL
- 활성화 상태 (is_active) — NOT NULL
- 마지막 읽은 시간 (last_read_at) — NOT NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
Category (tb_category)
- 식별자 (category_id) — NOT NULL — Primary key — NOT NULL
- 카테고리 이름 (categoryName) — NOT NULL
- 카테고리 뎁스 (categoryLevel) — NOT NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
- 식별자 (parentId) — NOT NULL — Foreign key → Category.식별자 — NOT NULL
ChatMessage (tb_chatmessage)
- 식별자 (message_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (chatroom_id) — NOT NULL — Foreign key → ChatRoom.식별자 — NOT NULL
- 식별자 (user_id) — NOT NULL — Foreign key → User.식별자 — NOT NULL
- 메시지 타입 (message_type) — NOT NULL
- 내용 (content) — NOT NULL
- 파일 원본명 (file_original_name) — NOT NULL
- 파일 URL (file_url) — NOT NULL
- 파일 mime 타입 (file_mime_type) — NOT NULL
- 파일 크기 (file_size) — NOT NULL
- 읽음 상태 (is_read) — NOT NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
ChatRoom (tb_chatroom)
- 식별자 (chatroom_id) — NOT NULL — Primary key — NOT NULL
- 채팅방 이름 (name) — NOT NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
Favorite (tb_favorite)
- 식별자 (favorite_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (user_id) — NOT NULL — Foreign key → User.식별자 — NOT NULL
- 식별자 (service_id) — NOT NULL — Foreign key → Service.식별자 — NOT NULL
- 생성 시간 (createdAt) — NOT NULL
Notification (tb_notification)
- 식별자 (notification_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (user_id) — NOT NULL — Foreign key → User.식별자 — NOT NULL
- 타입 (type) — NOT NULL
- 메시지 (message) — NOT NULL
- 읽음 여부 (isRead) — NOT NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
Order (tb_order)
- 식별자 (order_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (buyer_id) — NOT NULL — Primary key — NOT NULL — FK
- 식별자 (seller_id) — NOT NULL — Foreign key → User.식별자 — NOT NULL
- 식별자 (payment_id) — NOT NULL — Foreign key → Payment.식별자 — NOT NULL
- 식별자 (user_id) — NOT NULL — Foreign key → Payment.식별자 — NOT NULL
- 식별자 (service_id) — NOT NULL — Foreign key → Service.식별자 — NOT NULL
- 섬네일 이미지 (thumbnailUrl) — NOT NULL
- 제목 (title) — NOT NULL
- 요구사항 (requirements) — NOT NULL
- 작업일 (workingDays) — NOT NULL
- 주문 상태 (orderStatus) — NOT NULL
- 작업 상태 (workStatus) — NOT NULL
- 가격 (amount) — NOT NULL
- 할인가 (discountAmount) — NULL
- 최종가 (finalAmount) — NOT NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
Payment (tb_payment)
- 식별자 (payment_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (user_id) — NOT NULL — Foreign key → User.식별자 — NOT NULL
- 아임포트 아이디 (impUid) — NOT NULL
- 결제 구분 아이디 (merchantUid) — NOT NULL
- 결제 방법 (paymentMethod) — NOT NULL
- 결제 상태 (paymentStatus) — NOT NULL
- 결제 금액 (amount) — NOT NULL
- 결제 정보 (paymentData) — NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
Portfolio (tb_portfolio)
- 식별자 (portfolio_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (user_id) — NOT NULL — Foreign key → User.식별자 — NOT NULL
- 제목 (title) — NOT NULL
- 설명 (description) — NOT NULL
- 상세 이미지 (imageUrls) — NOT NULL
- 생성 시간 (createAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
Service (tb_service)
- 식별자 (service_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (user_id) — NOT NULL — Foreign key → User.식별자 — NOT NULL
- 식별자 (category_id) — NOT NULL — Foreign key → Category.식별자 — NOT NULL
- 제목 (title) — NOT NULL
- 섬네일 이미지 (thumbnailUrl) — NOT NULL
- 상세 이미지 (detailImageUrls) — NOT NULL
- 상세 설명 (description) — NOT NULL
- 환불 정책 (refundPolicy) — NOT NULL
- 서비스 진행 절차 (procdure) — NOT NULL
- 세금 계산 발행 (taxInvoiceAvailable) — NULL
- 서비스 등록 상태 (serviceStatus) — NOT NULL
- 평균 평점 (averageRating) — NULL
- 평점 개수 (ratingCount) — NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
ServicePriceInfo (tb_servicepriceInfo)
- 식별자 (servicepriceinfo_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (service_id) — NOT NULL — Foreign key → Service.식별자 — NOT NULL
- 가격 타입 (priceType) — NOT NULL
- 제목 (title) — NOT NULL
- 설명 (description) — NOT NULL
- 가격 (price) — NOT NULL
- 작업 파일 원본 제공 (originalFileProvided) — NOT NULL
- 고해상도 파일 제공 (highResolutionProvided) — NOT NULL
- 응용 디자인 (isCustomizable) — NOT NULL
- 상표등록 가능여부 (isTrademarkRegistrable) — NOT NULL
- 시안 개수 (draftCount) — NOT NULL
- 작업일 (deliveryDays) — NOT NULL
- 수정 횟수 (revisionCount) — NOT NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
ServiceReview (tb_servicereview)
- 식별자 (servicereview_id) — NOT NULL — Primary key — NOT NULL
- 식별자 (service_id) — NOT NULL — Foreign key → Service.식별자 — NOT NULL
- 식별자 (user_id) — NOT NULL — Foreign key → User.식별자 — NOT NULL
- 리뷰 평점 (rating) — NOT NULL
- 리뷰 내용 (content) — NOT NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL
User (tb_user)
- 식별자 (user_id) — NOT NULL — Primary key — NOT NULL
- 소셜 구분자 (provider) — NOT NULL
- 역할군 (role) — NOT NULL
- 이메일 (email) — NOT NULL
- 닉네임 (nickname) — NOT NULL
- 직업 (job) — NULL
- 비즈니스 (business) — NULL
- 관심사 (interest) — NULL
- 프로필 이미지 (profileImageUrl) — NULL
- 소개글 (introduction) — NULL
- 핸드폰 인증 (phoneVerified) — NULL
- 계좌 인증 (bankAccountVerified) — NULL
- 출금액 (balance) — NULL
- Yep머니 (yepMoney) — NULL
- 판매자 인증 (sellerVerified) — NULL
- 사업자 인증 (businessVerified) — NULL
- 생성 시간 (createdAt) — NOT NULL
- 업데이트 시간 (updatedAt) — NOT NULL — NOT NULL