This commit is contained in:
Hazel Noack
2025-10-06 16:50:55 +02:00
parent b1cc6506d0
commit fefa69e92a
6 changed files with 110 additions and 6 deletions

View File

@@ -1,15 +1,39 @@
package data
type MusicObject interface {
}
type Song struct {
Id int
Name string
UnifiedName string
Isrc string
Genre string
Note string
Tracksort int
Artwork string
Album Album
Artists []Artist
Sources []Source
}
type Album struct {
Id int
Name string
UnifiedName string
Songs []Song
Artists []Artist
Sources []Source
}
type Artist struct {
Id int
Name string
UnifiedName string
Albums []Album
Sources []Source
}