mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-25 03:19:55 +01:00
13 lines
242 B
Go
13 lines
242 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type Scrobble struct {
|
|
MediaFileID string
|
|
UserID string
|
|
SubmissionTime time.Time
|
|
}
|
|
|
|
type ScrobbleRepository interface {
|
|
RecordScrobble(mediaFileID, userID string, submissionTime time.Time) error
|
|
}
|