add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
35
internal/foundry/temp_models/db/light.go
Normal file
35
internal/foundry/temp_models/db/light.go
Normal file
@@ -0,0 +1,35 @@
|
||||
package db
|
||||
|
||||
type Light struct {
|
||||
ID uint
|
||||
|
||||
Color string
|
||||
Priority int
|
||||
Angle int
|
||||
Negative bool
|
||||
Alpha float64
|
||||
Bright float64
|
||||
Coloration float64
|
||||
Dim float64
|
||||
Attenuation float64
|
||||
Luminosity float64
|
||||
Saturation float64
|
||||
Contrast float64
|
||||
Shadows float64
|
||||
LightAnimation LightAnimation
|
||||
LightDarkness LightDarkness
|
||||
}
|
||||
|
||||
type LightAnimation struct {
|
||||
ID uint
|
||||
|
||||
Speed int
|
||||
Intensity int
|
||||
Reverse bool
|
||||
}
|
||||
type LightDarkness struct {
|
||||
ID uint
|
||||
|
||||
Min float64
|
||||
Max float64
|
||||
}
|
||||
Reference in New Issue
Block a user