SNOOZZ_IAP

테이블 (4)

그외 알람 (notificationsType)

  • ID (_Id) — 기본 키 — NOT NULL
  • 사용자ID (userId)
  • 원본거래ID (originalTransactionId)
  • 알림Type (data)
  • 생성날짜 (createDate)
  • 상품ID (productId) — 외래 키 → 상품.ID — NOT NULL

사용자 구독 상태 (userSubscription)

  • ID (_Id) — 기본 키 — NOT NULL
  • 사용자ID (userId)
  • 원본거래ID (originalTransactionId)
  • 구독타입 (duration)
  • 사용자구독상태 (isActive)
  • 구독시작날짜 (startDate)
  • 구독종료날짜 (endDate)
  • 영수증ID (receiptId) — 외래 키 → 영수증.ID — NOT NULL

상품 (product)

  • ID (_Id) — 기본 키 — NOT NULL
  • 구독타입 (duration)
  • 구글상품ID (googleProductId)
  • 애플상품ID (appleProductId)
  • 화폐 (currency)
  • 할인율 (discountRate)
  • 할인후 (afterDiscount)
  • 할인전 (beforeDiscount)
  • 상품상태 (status)

영수증 (receipt)

  • ID (_Id) — 기본 키 — NOT NULL
  • 사용자ID (userId)
  • 원본거래ID (originalTransactionId)
  • 영수증 (receiptData)
  • 구매일 (purchaseDate)
  • 상태 (status)
  • 알림Type (notificationType)
  • 상품ID (productId) — 외래 키 → 상품.ID — NOT NULL