mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 11:40:36 +03:00
18 lines
317 B
Go
18 lines
317 B
Go
package model
|
|
|
|
type Artist struct {
|
|
ID string
|
|
Name string
|
|
AlbumCount int
|
|
}
|
|
|
|
type ArtistRepository interface {
|
|
BaseRepository
|
|
Put(m *Artist) error
|
|
Get(id string) (*Artist, error)
|
|
PurgeInactive(active Artists) error
|
|
Search(q string, offset int, size int) (Artists, error)
|
|
}
|
|
|
|
type Artists []Artist
|