init commit
This commit is contained in:
8
model/artist.go
Normal file
8
model/artist.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package model
|
||||
|
||||
// Artist represents the artists table
|
||||
type Artist struct {
|
||||
BaseWithUUID
|
||||
Albums []Album
|
||||
Name string `gorm:"unique;n"`
|
||||
}
|
||||
Reference in New Issue
Block a user