mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
17 lines
468 B
Go
17 lines
468 B
Go
package project
|
|
|
|
import (
|
|
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/visualization"
|
|
"github.com/jinzhu/gorm"
|
|
// XXX: We don't need also User and Simulation???
|
|
)
|
|
|
|
type Project struct {
|
|
gorm.Model
|
|
Name string
|
|
UserProject User // XXX: association?
|
|
Visualizations []Visualization // TODO: association & foreign key
|
|
SimulationProject Simulation // XXX: association?n
|
|
}
|
|
|
|
// TODO: execute before project.delete()
|