Add user to debt and income
This commit is contained in:
parent
43005c6f3b
commit
1d1463b38f
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user