Skip to content

Commit

Permalink
solves #175
Browse files Browse the repository at this point in the history
  • Loading branch information
deinelieblings committed Aug 20, 2024
1 parent 2eb2a32 commit 62bc35c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ type (
DropsID string `bson:"drops_id" json:"drops_id"`
LastUpdate string `bson:"last_update" json:"last_update"`
MailboxID string `bson:"mailbox_id" json:"mailbox_id"`
LastLoginDate int64 `bson:"last_login_date" json:"last_login_date"`
Modified vmod.Modified `json:"modified" bson:"modified"`
}
UserUpdate struct {
Expand All @@ -44,6 +45,7 @@ type (
PrivacyPolicy bool `bson:"privacy_policy" json:"privacy_policy"`
Confirmed bool `bson:"confirmed" json:"confirmed"`
DropsID string `bson:"drops_id" json:"drops_id"`
LastLoginDate int64 `bson:"last_login_date" json:"last_login_date"`
LastUpdate string `bson:"last_update" json:"last_update"`
}
User struct {
Expand All @@ -59,6 +61,7 @@ type (
Confirmed bool `bson:"confirmed" json:"confirmed"`
LastUpdate string `bson:"last_update" json:"last_update"`
MailboxID string `bson:"mailbox_id" json:"mailbox_id"`
LastLoginDate int64 `bson:"last_login_date" json:"last_login_date"`
//extends the vcago.User
DropsID string `bson:"drops_id" json:"drops_id"`
Profile Profile `json:"profile" bson:"profile,truncate"`
Expand Down

0 comments on commit 62bc35c

Please sign in to comment.