Import category
This commit is contained in:
@ -21,6 +21,18 @@ type Budget struct {
|
||||
LastModification sql.NullTime
|
||||
}
|
||||
|
||||
type Category struct {
|
||||
ID uuid.UUID
|
||||
CategoryGroupID uuid.UUID
|
||||
Name string
|
||||
}
|
||||
|
||||
type CategoryGroup struct {
|
||||
ID uuid.UUID
|
||||
BudgetID uuid.UUID
|
||||
Name string
|
||||
}
|
||||
|
||||
type Payee struct {
|
||||
ID uuid.UUID
|
||||
BudgetID uuid.UUID
|
||||
@ -28,12 +40,13 @@ type Payee struct {
|
||||
}
|
||||
|
||||
type Transaction struct {
|
||||
ID uuid.UUID
|
||||
Date time.Time
|
||||
Memo string
|
||||
Amount Numeric
|
||||
AccountID uuid.UUID
|
||||
PayeeID uuid.NullUUID
|
||||
ID uuid.UUID
|
||||
Date time.Time
|
||||
Memo string
|
||||
Amount Numeric
|
||||
AccountID uuid.UUID
|
||||
CategoryID uuid.NullUUID
|
||||
PayeeID uuid.NullUUID
|
||||
}
|
||||
|
||||
type User struct {
|
||||
|
Reference in New Issue
Block a user