2016-02-24 11:30:28 -09:00
|
|
|
package models
|
|
|
|
|
|
2016-02-26 23:35:01 -09:00
|
|
|
import (
|
|
|
|
|
"time"
|
|
|
|
|
)
|
2016-02-24 11:30:28 -09:00
|
|
|
|
|
|
|
|
type MediaFile struct {
|
2016-02-26 23:35:01 -09:00
|
|
|
Id string
|
|
|
|
|
Path string
|
|
|
|
|
Title string
|
|
|
|
|
Album string
|
|
|
|
|
Artist string
|
|
|
|
|
AlbumArtist string
|
2016-02-28 18:56:24 -09:00
|
|
|
AlbumId string `parent:"album"`
|
2016-02-26 23:35:01 -09:00
|
|
|
Compilation bool
|
|
|
|
|
CreatedAt time.Time
|
|
|
|
|
UpdatedAt time.Time
|
2016-02-24 11:30:28 -09:00
|
|
|
}
|