pet

Tables (4)

PetSitter (펫시터)

  • 아이디 (id) — Int — Primary key — NOT NULL
  • 이름 (name) — String
  • 소개 (comment) — String
  • 경력 (career) — Int
  • 동물 (animal) — String
  • 키워드 (keyword) — String
  • 생성날짜 (createdAt) — Date

Reservations (예약)

  • 아이디 (id) — Int — Primary key — NOT NULL
  • 유저아이디 (userId) — Int — Foreign key → Users.아이디 — NOT NULL
  • 펫시터아이디 (petSitter) — Int — Foreign key → PetSitter.아이디 — NOT NULL
  • 회사이름 (company) — String
  • 소개 (intro) — String
  • 동물 (animal) — String
  • 상태 (status) — Boolean
  • 생성날짜 (createdAt) — Date
  • 수정날짜 (updatedAt)
  • 예약날짜 (reservedAt) — Date

Reviews (리뷰)

  • 기본키 (Key) — Int — Primary key — NOT NULL
  • 펫시터아이디 (petSitterId) — Int — Foreign key → PetSitter.아이디 — NOT NULL
  • 유저아이디 (userId) — Int — Foreign key → Users.아이디 — NOT NULL
  • 후기 (comment) — String
  • 평점 (rate) — Int
  • 생성날짜 (createdAt) — Date
  • 수정날짜 (updatedAt)

Users (사용자)

  • 아이디 (id) — Int — Primary key — NOT NULL
  • 닉네임 (name) — String
  • 이메일 (email) — String
  • 비밀번호 (password) — String
  • 지역 (resion) — String
  • 생성일 (createdAt) — Date