summaryrefslogtreecommitdiff
path: root/internal/models/models.go
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-06-05 08:22:36 +0300
committerGrailFinder <wohilas@gmail.com>2024-06-05 08:22:36 +0300
commit01f9a9f5d71450a0c80195058245fdebe88796bd (patch)
treefd50f3fdd0585fd1ff6cf431af613fa01b86e439 /internal/models/models.go
parent60fc1773241195f4988ed8066e019bbc42267085 (diff)
Feat: recommendations for anon and user
Diffstat (limited to 'internal/models/models.go')
-rw-r--r--internal/models/models.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/internal/models/models.go b/internal/models/models.go
index 71fb358..5bc120b 100644
--- a/internal/models/models.go
+++ b/internal/models/models.go
@@ -11,13 +11,14 @@ const (
type (
UserScore struct {
- ID uint32 `db:"id"`
- Username string `db:"username"`
- Password string `db:"password"`
- Actions []Action
- BurnTime time.Time `db:"burn_time"`
- Score int8 `db:"score"`
- CreatedAt time.Time `db:"created_at"`
+ ID uint32 `db:"id"`
+ Username string `db:"username"`
+ Password string `db:"password"`
+ Actions []Action
+ Recommendations []Action
+ BurnTime time.Time `db:"burn_time"`
+ Score int8 `db:"score"`
+ CreatedAt time.Time `db:"created_at"`
}
Action struct {
ID uint32 `db:"id"`