codeRoom

Tables (4)

Copy Of PurchaseDataForUser (CopyOffirebase/유저/구매목록)

  • 구매한 날짜 (createdAt) — string
  • 구매한 코드 또는게시글의 uid (codeId) — number — NOT NULL

PurchaseDataForUser (firebase/유저/구매목록)

  • 구매한 날짜 (createdAt) — string
  • 구매한 코드 또는게시글의 uid (codeId) — number — NOT NULL

SalesDataForUser (firebase/유저판매목록)

  • 고유 id (id) — string — Primary key — NOT NULL
  • Key(유저 uid) (keyOfid) — string — Foreign key → UserEntity.Key(유저 uid) — NOT NULL
  • 구매자한 유저의 uid (keyOfid2) — string — Foreign key → UserEntity.Key(유저 uid) — NOT NULL
  • 판매된 날짜 (createdAt) — string
  • 판매한 코드/게시글의 id (codeId) — string
  • ㄴ (purchaseUserId) — string
  • 결제한 캐시(정산전 원금 캐시) (point) — number

UserEntity (firebase/유저)

  • Key(유저 uid) (keyOfid) — string — Primary key — NOT NULL
  • 유저 uid (id) — string
  • 이메일 (email) — string
  • 닉네임 (nickname) — string
  • 보유캐시 (point) — number
  • 프로필사진 URL(github) (profilePhotoUrl) — string|null
  • 구매 목록 (purchaseData) — purchaseDataForUser[]|null — NOT NULL
  • 판매 목록 (salesData) — salseDataForUser[]|null
  • 계정생성일 (createdAt) — string
  • 가입계정 (이메일/깃허브SNS) (registerType) — string