Skip to content

Debt Model

Noah Huppert edited this page Jun 16, 2018 · 1 revision

Debt

Keeps track of debts to other users.

Models

Debt

Represents an entry in the overall "finacial logbook" of a user

  • payee_user_id: int
    • Id of user that owes or is paying money.
    • Id of user who will be the source of the money.
  • receiver_user_id: int
    • Id of user receiving money.
  • value: float
    • If value is positive then payee user is paying a debt off to receiver
    • If value is negative then payee user owes receiver the value