Began work on user favorites backend support & storage

This commit is contained in:
Torkel Ödegaard
2015-01-28 15:29:36 +01:00
parent b25bf363b3
commit e02e60171e
3 changed files with 64 additions and 1 deletions
+17
View File
@@ -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
}