mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
15 lines
426 B
Go
15 lines
426 B
Go
package visualization
|
|
|
|
import (
|
|
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/user"
|
|
"github.com/jinzhu/gorm"
|
|
)
|
|
|
|
type Visualization struct {
|
|
gorm.Model
|
|
Name string `gorm:"not null"`
|
|
VisualizationProject Project `gorm:"not null"`
|
|
Widgets []string // XXX: array of what type?
|
|
Grid int `gorm:"default:15"`
|
|
VisualizationUser User `gorm:"not null"`
|
|
}
|