mirror of https://github.com/gabehf/Koito.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
496 B
16 lines
496 B
package models
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
type Track struct {
|
|
ID int32 `json:"id"`
|
|
Title string `json:"title"`
|
|
Artists []SimpleArtist `json:"artists"`
|
|
MbzID *uuid.UUID `json:"musicbrainz_id"`
|
|
ListenCount int64 `json:"listen_count"`
|
|
Duration int32 `json:"duration"`
|
|
Image *uuid.UUID `json:"image"`
|
|
AlbumID int32 `json:"album_id"`
|
|
TimeListened int64 `json:"time_listened"`
|
|
}
|