CatchWork
Tables (23)
Banner (배너)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- banner_type (배너 유형) — BANNER_TYPE
- image (이미지) — image
- sort_num (정렬 순서) — number
Category (카테고리)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- name (이름) — text
- sort_num (정렬 순서) — number
CategoryDetail (서비스 카테고리 상세)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- name (이름) — text
- sort_num (정렬 순서) — number
- fee_rate (수수료 비율) — number
- cateogry (서비스 카테고리) — Category — Foreign key → Category.unique_id — NOT NULL
Certify (인증)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- certify_type (인증 유형) — CERTIFY_TYPE
- code (코드) — text
- phone (전화번호) — text
- expired_at (만료 시간) — DateTime
CompanyReview (업체 후기)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- score (점수) — number
- contents (내용) — text
- created_at (생성 일자) — DateTime
- company (업체) — User — Foreign key → User.unique_id — NOT NULL
- user (작성자) — User — Foreign key → User.unique_id — NOT NULL
Contract (계약 정보)
- contract_id (계약 코드) — text — Primary key — NOT NULL
- category_detail (서비스 카테고리 상세) — CategoryDetail — Foreign key → CategoryDetail.unique_id — NOT NULL
- contract_state (계약 상태) — CONTRACT_STATE
- title (제목) — text
- contents (요청 내용) — text
- image (이미지) — image
- address (주소) — text
- gaddress (구글 주소) — GeoAddress
- address_detail (주소 상세) — text
- post_no (우편 번호) — text
- price (가격) — number
- contract_start_at (계약 시작일) — DateTime
- contract_end_at (계약 종료일) — DateTime
- request_at (요청 일자) — DateTime
- is_chain (체인 여부) — boolean
- is_offline (오프라인 계약 여부) — boolean
- request_contents_list (요청 사항 컨텐츠 리스트) — List<ContractContents> — Foreign key → ContractContents.unique_id — NOT NULL
- requester (요청자) — User — Foreign key → User.unique_id — NOT NULL
- selected_company (선택 업체) — User — Foreign key → User.unique_id — NOT NULL
- root_contract (루트 계약) — Contract — Foreign key → Contract.contract_id — NOT NULL
- parent_contract (부모 계약) — Contract — Foreign key → Contract.contract_id — NOT NULL
- parent_fee (부모에게 돌아가는 중계 수수료) — number
- fee (수수료) — number
- fee_rate (수수료 비율) — number
ContractApply (계약 지원)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- contents (지원 내용) — text
- created_at (생성 일자) — DateTime
- applicant (지원자) — User — Foreign key → User.unique_id — NOT NULL
- contract (계약 정보) — Contract — Foreign key → Contract.contract_id — NOT NULL
ContractContents (계약 내용 컨텐츠)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- contents_type (컨텐츠 유형) — CONTENTS_TYPE
- sort_num (정렬 순서) — number
- image (이미지) — image
- text (텍스트) — text
Inquiry (문의)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- title (문의 제목) — text
- contents (문의 내용) — text
- create_at (생성 일자) — DateTime
- answer (답변) — text
- inquiry_state (문의 상태) — INQUIRY_STATE
- user (작성자) — User — Foreign key → User.unique_id — NOT NULL
Notice (공지사항)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- title (제목) — text
- contents (내용) — text
- created_at (생성 일자) — DateTime
Order (결제 주문)
- order_id (주문 번호) — text — Primary key — NOT NULL
- order_state (주문 상태) — ORDER_STATE
- total_price (총 결제 가격) — number
- platform_fee (플랫폼 수수료) — number
- vat (부가세) — number
- company_fee (업체 전달 금액) — number
- order_at (주문 일자) — DateTime
- pay_at (결제 일자) — DateTime
- cancel_at (취소 일자) — DateTime
- contract_name (계약명) — text
- user (결제자) — User — Foreign key → User.unique_id — NOT NULL
- contract (계약 정보) — Contract — Foreign key → Contract.contract_id — NOT NULL
- payments (결제 정보) — Payments — Foreign key → Payments.unique_id — NOT NULL
Payments (결제 정보)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- version (응답 버전) — text
- paymentKey (결제 고유값) — text
- type (결제 타입 정보) — text
- orderId (주문번호) — text
- orderName (구매상품) — text
- mId (상점아이디(MID)) — text
- currency (통화) — text
- method (결제수단) — text
- totalAmount (총 결제 금액) — number
- balanceAmount (취소 가능 금액(잔고)) — number
- status (결제 처리 상태) — text
- requestedAt (결제가 일어난 날짜와 시간 정보) — text
- approvedAt (결제 승인이 일어난 날짜와 시간 정보) — text
- useEscrow (에스크로 사용 여부) — boolean
- lastTransactionKey (마지막 거래의 키 값입니다. 한 결제 건의 승인 거래와 취소 거래를 구분하는 데 사용) — text
- suppliedAmount (공급가액) — number
- vat (부가세) — number
- cultureExpense (문화비(도서, 공연 티켓, 박물관·미술관 입장권 등) 지출 여부) — boolean
- taxFreeAmount (결제 금액 중 면세 금액) — number
- taxExemptionAmount (과세를 제외한 결제 금액) — number
- isPartialCancelable (부분 취소 가능 여부) — boolean
- secret (웹훅 검증) — text
- country (국가코드) — text
PaymentsCancel (결제 취소 이력)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- payments (결제 정보) — Payments — Foreign key → Payments.unique_id — NOT NULL
- transactionKey (취소 고유값) — text
- receiptKey (취소 현금영수증 키값) — text
- cancelAmount (결제를 취소한 금액) — number
- cancelReason (결제를 취소한 이유) — text
- taxFreeAmount (취소된 금액 중 면세 금액) — number
- taxExemptionAmount (취소된 금액 중 과세 제외 금액) — number
- refundableAmount (결제 취소 후 환불 가능한 잔액) — number
- easyPayDiscountAmount (간편결제 서비스의 포인트, 쿠폰, 즉시할인과 같은 적립식 결제수단에서 취소된 금액) — number
- canceledAt (결제 취소가 일어난 날짜와 시간 정보) — text
- cancelStatus (취소 상태) — text
- cancelRequestId (취소 요청 ID 비동기 결제에만 적용되는 특수 값) — text
PaymentsCard (결제정보 카드)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- payments (결제 정보) — Payments — Foreign key → Payments.unique_id — NOT NULL
- approveNo (카드사 승인 번호) — text
- amount (결제 요청 금액) — number
- issuerCode (카드 발급사 두자리 코드) — text
- acquirerCode (카드 매입사 두자리 코드) — text
- number (카드 번호) — text
- installmentPlanMonths (할부 개월 수) — number
- useCardPoint (카드사 보인트 사용 여부) — boolean
- cardType (카드 타입 신용, 체크, 기프트, 미확인) — text
- ownerType (카드 소유자 타입 개인, 법인, 미확인) — text
- acquireStatus (카드 결제의 매입 상태) — text
- isInterestFree (무이자 할부 적용 여부) — boolean
- interestPayer (할부가 적용된 결제에서 할부 수수료를 부담하는 주체) — text
PaymentsCertificate (상품권 결제)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- payments (결제 정보) — Payments — Foreign key → Payments.unique_id — NOT NULL
- approveNo (결제 승인번호) — text
- settlementStatus (정산 상태) — text
PaymentsEasyPay (간편결제 정보)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- payments (결제 정보) — Payments — Foreign key → Payments.unique_id — NOT NULL
- provider (간편결제사 코드) — text
- amount (결제한 금액) — number
- discountAmount (할인 금액) — number
PaymentsMobilePhone (휴대폰 결제)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- payments (결제 정보) — Payments — Foreign key → Payments.unique_id — NOT NULL
- customerMobilePhone (휴대폰번호) — text
- settlementStatus (정산 상태) — text
- receiptUrl (영수증 정보) — text
PaymentsTransfer (계좌이체 결제)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- payments (결제 정보) — Payments — Foreign key → Payments.unique_id — NOT NULL
- bankCode (은행 두 자리 코드) — text
- settlementStatus (정산 상태) — text
PaymentsVirtualAccount (결제 가상계좌)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- payments (결제 정보) — Payments — Foreign key → Payments.unique_id — NOT NULL
- accountType (가상계좌 타입) — text
- accountNumber (발급된 계좌번호) — text
- bankCode (가상계좌 은행 두 자리 코드) — text
- customerName (가상계좌를 발급한 구매자명) — text
- dueDate (입금 기한) — text
- refundStatus (환불 처리 상태) — text
- expired (가상계좌 만료 여부) — boolean
- settlementStatus (정산 상태 정산이 아직 되지 않았다면 INCOMPLETED, 정산이 완료됐다면 COMPLETED) — text
Term (약관)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- term_type (약관 유형) — TERM_TYPE
- contents (내용) — text
- last_update_at (최종 업데이트 일자) — DateTime
User (유저)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- email (이메일) — text
- password (비밀번호) — text
- init_password (초기 비밀번호) — text
- control_password (조작 비밀번호) — text
- user_type (유저 유형) — USER_TYPE
- user_state (유저 상태) — USER_STATE
- login_type (로그인 유형) — LOGIN_TYPE
- phone (전화번호) — text
- profile_image (프로필 이미지) — image
- name (성함) — text
- address (주소) — text
- gaddress (구글 주소) — GeoAddress
- address_detail (주소 상세) — text
- post_no (우편번호) — text
- point (마일리지) — number
- is_notificate (알림 여부) — boolean
- withdrawal_at (탈퇴 일자) — DateTime
- =========== (=========) — =========
- company_category_detail_list (업체 카테고리 상세 리스트) — List<CategoryDetail> — Foreign key → CategoryDetail.unique_id — NOT NULL
- company_category_list (업체 카테고리 리스트) — List<Category> — Foreign key → Category.unique_id — NOT NULL
- company_service_detail (업체 서비스 상세 설명) — text
- company_name (업체명) — text
- company_score (점수) — number
- company_career_year (업체 경력 년수) — number
- ========================= (=====) — =================
- user_request (유저 요청 사항) — text
- user_gender_type (유저 성별 유형) — GENDER_TYPE
- user_birth_at (유저 생년월일) — DateTime
- user_interest_category_detail_list (유저 관심 카테고리 상세 리스트) — List<CategoryDetail> — Foreign key → CategoryDetail.unique_id — NOT NULL
UserNotification (유저 알림)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- notification_type (알림 유형) — NOTIFICATION_TYPE
- title (제목) — text
- link (링크) — text
- created_at (생성일자) — DateTime
- user (유저) — User — Foreign key → User.unique_id — NOT NULL
UserPointLog (마일리지 이력)
- unique_id (고유 번호) — text — Primary key — NOT NULL
- point_log_type (마일리지 이력 유형) — POINT_LOG_TYPE
- amount (마일리지) — number
- created_at (생성일자) — DateTime
- user (유저) — User — Foreign key → User.unique_id — NOT NULL