taroro

Tables (9)

master-auth (마스터 인증/정산 정보)

  • id (마스터 인증/정산 식별자) — Primary key — NOT NULL
  • back_address (계좌번호)
  • bank_type (은행이름)
  • currency_exchange_rate (환전비율)
  • id (사용자 식별자) — Foreign key → user.id — NOT NULL

master-plan (마스터 플랜)

  • id (마스터가격플랜 식별자) — Primary key — NOT NULL
  • plan_title (플랜 제목)
  • plan_content (플랜 설명)
  • plan_price (플랜 가격)
  • id (상담방 식별자) — Foreign key → room.id — NOT NULL

point-charge (포인트 결제 원장)

  • id (결제 식별자) — Primary key — NOT NULL
  • provider (결제사)
  • order_id (가맹점 주문번호)
  • payment_key (토스 승인 키)
  • point_amount (포인트 지급수)
  • status (승인상태)
  • request_at (요청일시)
  • approved_at (승인일시)
  • cancelled_at (취소 일시)
  • fail_reason (실패이유)
  • raw_response (결제응답원문)
  • id (사용자 식별자) — Foreign key → user.id — NOT NULL

point-ledger (포인트 증감 원장)

  • id (증감 식별자) — Primary key — NOT NULL
  • id (사용자 식별자) — Foreign key → user.id — NOT NULL
  • delta (증감액)
  • balance_after (반영 후 잔액)
  • type (증감사유)
  • ref_table (참조 테이블명)
  • ref_id (참조 레코드)
  • memo (내용)

point-wallet (포인트 현재 잔액)

  • id (잔액 식별자) — Primary key — NOT NULL
  • balance (현재잔액)
  • id (사용자 식별자) — Foreign key → user.id — NOT NULL

room (상담방)

  • id (상담방 식별자) — Primary key — NOT NULL
  • room_title (상담방 제목)
  • status (상태)
  • id (사용자 식별자) — Foreign key → user.id — NOT NULL

room-participant (방참여자)

    session (커스텀세션)

    • id (세션 식별자) — Primary key — NOT NULL
    • session_id (세션 토큰)
    • expires_at (만료일시)
    • last_access_at (마지막 접속 일시)
    • id (사용자 식별자) — Foreign key → user.id — NOT NULL

    user (사용자)

    • id (사용자 식별자) — Primary key — NOT NULL
    • email (이메일)
    • password_hash (비밀번호)
    • phone (전화번호)
    • login_type (로그인 타입)
    • roles (권한)
    • name (이름)
    • nickname (별명)
    • age (나이)
    • is_auth (본인 인증 여부)
    • birth (생일)
    • gender (성별)
    • is_taro_master (마스터 인증 여부)