mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
19 lines
604 B
Go
19 lines
604 B
Go
package simulationModel
|
|
|
|
import (
|
|
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/simulation"
|
|
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/simulator"
|
|
"github.com/jinzhu/gorm"
|
|
)
|
|
|
|
type SimulationModel struct {
|
|
gorm.Model
|
|
Name string
|
|
OutputLength int `gorm:"default:1"`
|
|
InputLength int `gorm:"default:1"`
|
|
OutputMapping []string // TODO: Mixed Type
|
|
InputMapping []string // TODO: Mixed Type
|
|
StartParameters []string // TODO: Mixed Type
|
|
ModelSimulation Simulation `gorm:"not null"`
|
|
ModelSimulator Simulator `gorm:"not null"`
|
|
}
|