Wrap text
Account
|
|
* has one owner (user)
* has many users
* has many customers
* has many invoices
* has many labels
|
Invoice
|
|
* belongs to a customer
* belongs to an account
* has and belongs to many labels
|
Customer
|
|
* belongs to an account
* has many invoices
* has many and belongs to labels
|
User
|
|
* belongs to an account
* might belong to an account as an owner
|
Label
|
|
* has and belongs to many invoices
* has and belongs to many customers
* Belongs to an account
|