editorAI

Tables (8)

CreditCard (Untitled7)

  • pk — ObjectId — Primary key — NOT NULL
  • 유저 아이디 (userId) — ObjectId — Foreign key → User.pk — NOT NULL
  • 카드명칭 (name) — String
  • 카드타입 (cardType) — Enum(신용 | 체크)
  • 카드번호 (cardNumber) — String
  • 빌링키 (billingKey) — String
  • 생성일 (createdAt) — Date
  • 변경일 (updatedAt) — Date
  • 만료일 (expiredAt) — Date

NewsArticle (Untitled3)

  • pk — ObjectId — Primary key — NOT NULL
  • 유저 아이디 (userId) — ObjectId — Foreign key → User.pk — NOT NULL
  • 정확도 (accuracy) — Object
  • 입력값 (request) — Object
  • 결과값 (response) — Object
  • 생성일 (createdAt) — Date
  • 변경일 (updatedAt) — Date

Pass (Untitled5)

  • pk — ObjectId — Primary key — NOT NULL
  • 이름 (name) — String
  • 가격 (price) — Number
  • 비활성화여부 (isDisabled) — Boolean
  • 기간(일단위) (durationInDays) — Number
  • 생성일 (createdAt) — Date
  • 변경일 (updatedAt) — Date

PaymentHistory (Untitled6)

  • pk — ObjectId — Primary key — NOT NULL
  • 유저 아이디 (userId) — ObjectId — Foreign key → User.pk — NOT NULL
  • 패스 아이디 (passId) — ObjectId — Foreign key → Pass.pk — NOT NULL
  • 이름 (passName) — String
  • 가격 (passPrice) — Number
  • 결제연동키 (paymentKey) — String
  • 환불여부 (isRefund) — Boolean
  • 환불날짜 (refundStatus) — null | Enum
  • 생성일 (createdAt) — Date
  • 변경일 (updatedAt) — Date

RefreshCode (Untitled4)

  • pk — ObjectId — Primary key — NOT NULL
  • 유저 아이디 (userId) — ObjectId — Foreign key → User.pk — NOT NULL
  • 토큰 (token) — String
  • 만료일 (expiredAt) — Date
  • 생성일 (createdAt) — Date
  • 변경일 (updatedAt) — Date

Refund (Untitled8)

    User (Untitled)

    • pk — ObjectId — Primary key — NOT NULL
    • 이름 (name) — String(20)
    • 이메일 (email) — String(100)
    • 비밀번호 (password) — String
    • 국가코드 (countryCode) — String
    • 핸드폰번호 (phone) — String(13)
    • SMS 마케팅 동의여부 (smsMarketingAgreement) — Boolean
    • EMAIL 마케팅 동의여부 (emailMarketingAgreement) — Boolean
    • 이용약관 동의여부 (serviceAgreement) — Boolean
    • 개인정보처리방침 동의여부 (privacyAgreement) — Boolean
    • 간편 로그인 (oAuth) — Object | undefined
    • 탈퇴여부 (isDeleted) — Boolean
    • 생성일 (createdAt) — Date
    • 변경일 (updatedAt) — Date
    • 어드민 (isAdmin) — Boolean
    • 패스권 (currentPass) — Object

    VerifyCode (Untitled2)

    • pk — ObjectId — Primary key — NOT NULL
    • 핸드폰번호 (phone) — String
    • 인증코드 (code) — String(6)
    • 인증여부 (isVerify) — Boolean
    • 만료날짜 (expiredAt) — Date
    • 생성일 (createdAt) — Date
    • 변경일 (updatedAt) — Date