quintodrome/domain/artist.go

17 lines
273 B
Go
Raw Normal View History

2016-03-02 05:07:24 -09:00
package domain
type Artist struct {
2016-03-27 16:13:00 -08:00
Id string
Name string
AlbumCount int
}
type ArtistRepository interface {
BaseRepository
Put(m *Artist) error
Get(id string) (*Artist, error)
PurgeInactive(active Artists) ([]string, error)
}
2016-03-04 12:42:09 -09:00
type Artists []Artist