|
|
|
|
@ -76,7 +76,6 @@ type UpdatePlaylistCommand struct { |
|
|
|
|
OrgId int64 `json:"-"` |
|
|
|
|
Id int64 `json:"id" binding:"Required"` |
|
|
|
|
Name string `json:"name" binding:"Required"` |
|
|
|
|
Type string `json:"type"` |
|
|
|
|
Interval string `json:"interval"` |
|
|
|
|
Items []PlaylistItemDTO `json:"items"` |
|
|
|
|
|
|
|
|
|
@ -86,7 +85,6 @@ type UpdatePlaylistCommand struct { |
|
|
|
|
type CreatePlaylistCommand struct { |
|
|
|
|
Name string `json:"name" binding:"Required"` |
|
|
|
|
Interval string `json:"interval"` |
|
|
|
|
Data []int64 `json:"data"` |
|
|
|
|
Items []PlaylistItemDTO `json:"items"` |
|
|
|
|
|
|
|
|
|
OrgId int64 `json:"-"` |
|
|
|
|
|