mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
fixed syntax of Widget struct
This commit is contained in:
parent
91f52a409b
commit
b5e070b2b1
1 changed files with 5 additions and 5 deletions
|
@ -95,9 +95,9 @@ type Widget struct {
|
||||||
Height uint `gorm:"not null"`
|
Height uint `gorm:"not null"`
|
||||||
MinWidth uint `gorm:"not null"`
|
MinWidth uint `gorm:"not null"`
|
||||||
MinHeight uint `gorm:"not null"`
|
MinHeight uint `gorm:"not null"`
|
||||||
x int `gorm:"not null"`
|
X int `gorm:"not null"`
|
||||||
y int `gorm:"not null"`
|
Y int `gorm:"not null"`
|
||||||
z int `gorm:"not null"`
|
Z int `gorm:"not null"`
|
||||||
isLocked bool `gorm:"default:false"`
|
IsLocked bool `gorm:"default:false"`
|
||||||
customProperties postgres.Jsonb //TODO: default value?
|
CustomProperties postgres.Jsonb //TODO: default value?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue