mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
18 lines
550 B
Go
18 lines
550 B
Go
package simulation
|
|
|
|
import (
|
|
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/project"
|
|
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/simulationModel"
|
|
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/user"
|
|
"github.com/jinzhu/gorm"
|
|
)
|
|
|
|
type Simulation struct {
|
|
gorm.Model
|
|
Name string `gorm:"not null"`
|
|
Running bool `gorm:"default:false"`
|
|
Models []SimulationModel
|
|
Projects []Project
|
|
SimulationUser User `gorm:"not null"`
|
|
StartParameters []string // TODO: Mixed Type
|
|
}
|