add new models, change migration files, prepare to add all new tables from models

This commit is contained in:
lbenedar
2026-04-15 17:01:30 +03:00
parent 5bb592ea8a
commit 69d3d38ab7
95 changed files with 5371 additions and 12 deletions

View 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
}