Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallet model #3

Open
7 of 9 tasks
radulucaciu opened this issue Feb 22, 2017 · 0 comments
Open
7 of 9 tasks

Wallet model #3

radulucaciu opened this issue Feb 22, 2017 · 0 comments

Comments

@radulucaciu
Copy link
Collaborator

radulucaciu commented Feb 22, 2017

Specs

An user can have multiple wallets (e.g. Bank account, Investment account, Savings, etc).
Each wallet has one owner but can be shared with multiple other users (Question: Should we look into creating / defining groups?)

Fields

  • owner
  • name
  • sharedWith (TBD: should this be a list or should it be an intermediary table?)
  • value (the sum of all transactions for this account)
  • settings {currency, formatting{currencySymbolPosition, decimalSymbol, thousandsSeparator}}
  • currency (auto-formatted=)

Methods

  • create
  • read
  • update
  • delete

Other observations

  • Only the owner can delete a wallet
  • When the owner deletes a shared wallet, a notification should be displayed letting the user know that the wallet is shared with User X, Y and Z. The user can then either
    • Transfer the ownership to one of the users that wallet is shared with
    • Delete the wallet
  • Any user that has access to the wallet can add transactions to it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant