mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-12 04:17:16 +02:00
13 lines
234 B
Go
13 lines
234 B
Go
|
|
package model
|
||
|
|
|
||
|
|
import "time"
|
||
|
|
|
||
|
|
type Scrobble struct {
|
||
|
|
MediaFileID string
|
||
|
|
UserID string
|
||
|
|
SubmissionTime time.Time
|
||
|
|
}
|
||
|
|
|
||
|
|
type ScrobbleRepository interface {
|
||
|
|
RecordScrobble(mediaFileID string, submissionTime time.Time) error
|
||
|
|
}
|