Began work on user favorites backend support & storage
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package models
|
||||
|
||||
type Favorite struct {
|
||||
Id int64
|
||||
UserId int64
|
||||
DashboardId int64
|
||||
}
|
||||
|
||||
type AddAsFavoriteCommand struct {
|
||||
UserId int64
|
||||
DashboardId int64
|
||||
}
|
||||
|
||||
type RemoveAsFavoriteCommand struct {
|
||||
UserId int64
|
||||
DashboardId int64
|
||||
}
|
||||
Reference in New Issue
Block a user