fix(playlist): move dashboard uri cration to Backend

This commit is contained in:
bergquist
2016-01-08 16:13:49 +01:00
parent 22c001c8a6
commit 0918063c55
4 changed files with 23 additions and 4 deletions

View File

@@ -33,6 +33,17 @@ func (this PlaylistDashboard) TableName() string {
type Playlists []*Playlist
type PlaylistDashboards []*PlaylistDashboard
//
// DTOS
//
type PlaylistDashboardDto struct {
Id int64 `json:"id"`
Slug string `json:"slug"`
Title string `json:"title"`
Uri string `json:"uri"`
}
//
// COMMANDS
//