src/util/structs.go aktualisiert
This commit is contained in:
parent
e159133484
commit
e58ccfa22b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ type Debt struct {
|
|||
ID primitive.ObjectID `bson:"_id,omitempty"`
|
||||
PersonID primitive.ObjectID `bson:"fk_pid"`
|
||||
Amount int `bson:"amount"`
|
||||
Description string `bson:"description,omitempty"`
|
||||
Description string `bson:"description,omitempty" json:"description,omitempty"`
|
||||
Datetime time.Time `bson:"datetime"`
|
||||
}
|
||||
type PersonWithDebts struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue