mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-18 03:36:35 -07:00
chore: initial public commit
This commit is contained in:
commit
fc9054b78c
250 changed files with 32809 additions and 0 deletions
20
internal/models/album.go
Normal file
20
internal/models/album.go
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
package models
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type Album struct {
|
||||
ID int32 `json:"id"`
|
||||
MbzID *uuid.UUID `json:"musicbrainz_id"`
|
||||
Title string `json:"title"`
|
||||
Image *uuid.UUID `json:"image"`
|
||||
Artists []SimpleArtist `json:"artists"`
|
||||
VariousArtists bool `json:"is_various_artists"`
|
||||
ListenCount int64 `json:"listen_count"`
|
||||
}
|
||||
|
||||
// type SimpleAlbum struct {
|
||||
// ID int32 `json:"id"`
|
||||
// Title string `json:"title"`
|
||||
// VariousArtists bool `json:"is_various_artists"`
|
||||
// Image uuid.UUID `json:"image"`
|
||||
// }
|
||||
Loading…
Add table
Add a link
Reference in a new issue