add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
34
internal/foundry/temp_models/db/playlist.go
Normal file
34
internal/foundry/temp_models/db/playlist.go
Normal file
@@ -0,0 +1,34 @@
|
||||
package db
|
||||
|
||||
type Playlist struct {
|
||||
ID string
|
||||
|
||||
Name string
|
||||
Folder string
|
||||
Sorting string
|
||||
Description string
|
||||
Channel string
|
||||
Mode int
|
||||
Fade int
|
||||
Seed int
|
||||
Sort int
|
||||
Playing bool
|
||||
Stats Stats
|
||||
Ownership []OwnershipString
|
||||
Sounds []Sound
|
||||
}
|
||||
|
||||
type Sound struct {
|
||||
ID string
|
||||
|
||||
Name string
|
||||
Path string
|
||||
Channel string
|
||||
Description string
|
||||
Fade int
|
||||
Sort int
|
||||
Repeat bool
|
||||
Playing bool
|
||||
Volume float64
|
||||
PausedTime float64
|
||||
}
|
||||
Reference in New Issue
Block a user