add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
44
internal/foundry/temp_models/db/environment.go
Normal file
44
internal/foundry/temp_models/db/environment.go
Normal file
@@ -0,0 +1,44 @@
|
||||
package db
|
||||
|
||||
type Environment struct {
|
||||
ID uint
|
||||
|
||||
GlobalLight EnvironmentGlobalLight
|
||||
DarknessLevel float64
|
||||
DarknessLock bool
|
||||
Cycle bool
|
||||
ScenesEnvironmentBase EnvironmentBase
|
||||
Dark EnvironmentBase
|
||||
}
|
||||
|
||||
type EnvironmentGlobalLight struct {
|
||||
ID uint
|
||||
|
||||
Enabled bool
|
||||
Darkness GlobalLightDarkness
|
||||
Alpha float64
|
||||
Bright bool
|
||||
Color string
|
||||
Coloration float64
|
||||
Luminosity float64
|
||||
Saturation float64
|
||||
Contrast float64
|
||||
Shadows float64
|
||||
}
|
||||
|
||||
type EnvironmentBase struct {
|
||||
ID uint
|
||||
|
||||
Hue float64
|
||||
Intensity float64
|
||||
Luminosity float64
|
||||
Saturation float64
|
||||
Shadows float64
|
||||
}
|
||||
|
||||
type GlobalLightDarkness struct {
|
||||
ID uint
|
||||
|
||||
Max int
|
||||
Min int
|
||||
}
|
||||
Reference in New Issue
Block a user