Add user to debt and income

This commit is contained in:
qowevisa 2024-08-08 20:14:50 +03:00
parent 43005c6f3b
commit 1d1463b38f
2 changed files with 4 additions and 0 deletions

View File

@ -16,4 +16,6 @@ type Debt struct {
Date time.Time Date time.Time
DateEnd time.Time DateEnd time.Time
Finished bool Finished bool
UserID uint
User *User
} }

View File

@ -13,4 +13,6 @@ type Income struct {
Value uint64 Value uint64
Comment string Comment string
Date time.Time Date time.Time
UserID uint
User *User
} }