mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-02 08:31:27 +03:00
24 lines
364 B
Go
24 lines
364 B
Go
package domain
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type MediaFile struct {
|
|
Id string
|
|
Path string
|
|
Title string
|
|
Album string
|
|
Artist string
|
|
AlbumArtist string
|
|
AlbumId string `parent:"album"`
|
|
Compilation bool
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|
|
|
|
type MediaFileRepository interface {
|
|
BaseRepository
|
|
Put(m *MediaFile) error
|
|
}
|