Files
gonic/model/cover.go
2019-03-30 22:28:17 +00:00

11 lines
172 B
Go

package model
// Cover represents the covers table
type Cover struct {
Base
Album Album
AlbumID uint
Image []byte
Path string `gorm:"not null;unique_index"`
}