펫마일
테이블 (22)
Banner (배너)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- banner_type (배너 유형) — BANNER_TYPE
- sort_num (정렬 순서) — number
- image (이미지) — Image
- link (링크) — text
- start_at (시작일) — DateTime
- end_at (종료일) — DateTIme
- contents (내용) — text
Card (정기 구독 카드 정보)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- issuer_code (발행자 코드) — text
- acquirer_code (취득자 코드) — text
- number (카드 번호) — text
- card_type (카드 유형) — text
- owner_type (개인 법인 유형) — text
Category (카테고리)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- name (이름) — text
- category_type (카테고리 유형) — CATEGORY_TYPE
- sort_num (정렬 순서) — number
Certify (인증)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- phone (휴대폰 번호) — text
- code (코드) — text
- expired_at (만료 시간) — DateTime
- certify_type (인증 유형) — CERTIFY_TYPE
Comment (댓글)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- contents (내용) — text
- comment_type (댓글 유형) — COMMENT_TYPE
- created_at (생성 일시) — DateTime
- user (유저) — User — 외래 키 → User.unique_id — NOT NULL
Diary (반려일기)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- write_at (작성 시간) — text
- weather_type (날씨 유형) — WEATHER_TYPE
- temperature (온도) — number
- contents (내용) — text
- created_at (생성 일시) — DateTime
- user (유저) — User — 외래 키 → User.unique_id — NOT NULL
FooLog (배변 인증)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- image (이미지) — image
- location (장소) — Location — 외래 키 → Location.unique_id — NOT NULL
- user (유저) — User — 외래 키 → User.unique_id — NOT NULL
- created_at (생성 일자) — DateTime
Location (장소)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- category (카테고리) — Category — 외래 키 → Category.unique_id — NOT NULL
- lat (위도) — number
- long (경도) — number
- address (주소) — text
- address_detail (주소 상세) — text
- request_state (요청 상태) — REQUEST_STATE
- name (장소명) — text
- requester (요청자) — User — 외래 키 → User.unique_id — NOT NULL
Order (주문)
- order_id (주문 번호) — text — 기본 키 — NOT NULL
- order_state (주문 상태) — ORDER_STATE
- product (상품) — Produce — 외래 키 → Product.unique_id — NOT NULL
- user (구매자) — User — 외래 키 → User.unique_id — NOT NULL
- price (주문 가격) — number
- count (개수) — number
- order_at (주문일) — DateTime
- address (주소) — text
- address_detail (주소 상세) — text
- post_no (우편번호) — text
Partners (파트너스)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- user (유저) — USer — 외래 키 → User.unique_id — NOT NULL
- category (카테고리) — Category — 외래 키 → Category.unique_id — NOT NULL
- image_list (이미지 리스트) — List<Image>
- name (이름) — text
- phone (휴대폰 번호) — text
- veterinarian_name (수의사 이름) — text
- hospital_name (병원명) — text
- hospital_phone (병원 연락처) — text
- closed_day_list (휴무일 리스트) — LIst<DAYS>
- open_time (영업 시작 시간) — text
- closed_time (영업 종료 시간) — text
- address (주소) — text
- address_detail (상세 주소) — text
- request_at (승인 요청 일자) — DateTime
- approve_at (승인 일자) — DateTime
PartnersKey (파트너스 키)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- is_used (사용 여부) — boolean
- code (코드) — text
Pet (반려동물)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- user (유저) — User — 외래 키 → User.unique_id — NOT NULL
- name (이름) — text
- age (나이) — number
- species (종) — text
- significant (특이사항) — text
PointLog (포인트 로그)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- point_log_type (포인트 로그 유형) — POINT_LOG_TYPE
- point (포인트) — number
- created_at (생성일) — DateTime
- user (유저) — User — 외래 키 → User.unique_id — NOT NULL
- point_purchase_log (포인트 구매 이력) — PointPurchaseLog — 외래 키 → PointPuchaseLog.unique_id — NOT NULL
PointOrder (포인트 주문)
- order_id (주문 번호) — text — 기본 키 — NOT NULL
- order_name (주문명) — text
- order_state (주문 상태) — ORDER_STATE
- user (구매자) — User — 외래 키 → User.unique_id — NOT NULL
- price (주문 가격) — number
- order_at (주문일) — DateTime
- post_no (우편번호) — text
PointPuchaseLog (포인트 구매 이력)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- price (가격) — number
- point (구매 포인트) — number
- method (결제 수단) — text
- pay_at (결제 일자) — DateTime
- point_order (포인트 주문) — PointOrder — 외래 키 → PointOrder.order_id — NOT NULL
- user (구매자) — User — 외래 키 → User.unique_id — NOT NULL
Product (상품)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- category (카태고리) — Category — 외래 키 → Category.unique_id — NOT NULL
- name (상품명) — text
- price (가격) — number
- thumbnail (썸네일 이미지) — image
- is_display (노출 여부) — boolean
- stock_count (재고) — number
Term (약관)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- term_type (약관 유형) — TERM_TYPE
- contents (내용) — text
- last_update_at (최종 수정 일자) — DateTime
User (유저)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- email (이메일) — text
- password (비밀번호) — text
- init_password (초기 비밀번호) — text
- control_password (조작 비밀번호) — text
- user_type (유저 유형) — USER_TYPE
- grade_type (등급 유형) — GRADE_TYPE
- login_type (로그인 유형) — LOGIN_TYPE
- phone (휴대폰 번호) — text
- user_state (유저 상태) — USER_STATE
- pet_list (반려동물 리스트) — List<Pet> — 외래 키 → Pet.unique_id — NOT NULL
- partners (파트너스) — Partners — 외래 키 → Partners.unique_id — NOT NULL
UserSubScription (유저 정기구독)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- user (유저) — User — 외래 키 → User.unique_id — NOT NULL
- card (카드) — Card — 외래 키 → Card.unique_id — NOT NULL
- amount (금액) — number
- mid (상점 아이디) — text
- version (버젼) — text
- paymentKey (페이먼트 키) — text
- status (상태) — text
- lastTransactionKey (최종 수정키) — text
- orderId (주문 아이디) — text
- orderName (주문명) — text
- requestedAt (요청일자) — DateTIme
- approvedAt (승인일자) — DateTime
- useEscrow (에스크로 사용여부) — boolean
- cultureExpense (문화비 사용 여부) — boolean
- receipt (영수증) — text
- currency (통화) — text
- totalAmount (최종 금액) — number
- balanceAmount (잔액 금액) — number
- suppliedAmount (공급가) — number
- vat (부가가치세) — number
- method (결제 수단) — text
VeterinarianInfo (수뭐몰 정보글)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- title (제목) — text
- contents (내용) — text
- created_at (생성 일시) — DateTime
- keyword_list (키워드 리스트) — List<Text>
- partners (파트너스) — Partners — 외래 키 → Partners.unique_id — NOT NULL
VeterinarianQuestion (수뭐물 질문글)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- is_answer (답변 여부) — boolean
- title (제목) — text
- contents (내용) — text
- question_at (질문 일시) — DateTime
- user (유저) — User — 외래 키 → User.unique_id — NOT NULL
- comment_list (댓글 리스트) — List<Comment> — 외래 키 → Comment.unique_id — NOT NULL
WalkLog (산책 로그)
- unique_id (고유 번호) — text — 기본 키 — NOT NULL
- start_location (시작 위치) — text
- end_location (종료 위치) — text
- start_at (시작 시간) — DateTime
- end_at (종료 시간) — DateTime
- user (유저) — User — 외래 키 → User.unique_id — NOT NULL