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

Add Wallets #14

Open
emarj opened this issue Feb 11, 2019 · 1 comment
Open

Add Wallets #14

emarj opened this issue Feb 11, 2019 · 1 comment

Comments

@emarj
Copy link
Owner

emarj commented Feb 11, 2019

Every wallet will have a capital/amount inside (#23)

@emarj emarj changed the title Payment Methods -> Wallets Add Wallets Feb 28, 2019
@emarj
Copy link
Owner Author

emarj commented Feb 28, 2019

Wallets should be shareable, i.e. they could be owned by multiple users

type Wallet struct {
UUID uuid.UUID
Name string
Description string
Owners []*User
Amount decimal.Decimal
Private bool
Methods []*Method
}

This would require 3 tables: wallets,wallets_users,wallets_methods.

(Also need wallets_categories?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant