zgzgorg / zgthx

A community recognition system
https://thx.zgzggala.org
0 stars 0 forks source link

Server-side Interface #1

Closed xinbenlv closed 6 years ago

xinbenlv commented 6 years ago
ZgUserProfile
 - id: string UUID
 - role: ENUM
 - email: string
 - last_name: string
 - first_name: string

ZgUserAuth

ZgTransactionEntry (each transaction will have 2 entries, a > b 100 will show a - 100 with b, b -100 
 - id: string UUID
 - ownerId
 - timestamp
 - oppositeId: string(ZgUser)
 - amount: number(+ for receiving, - for sending) 
 - currentBalance: number
ZgBenefit