Großer Umbruch der Architektur, halb fertig, zu viele Details zum Aufzählen, in Zukunft wieder kleine Commits!
This commit is contained in:
@ -7,28 +7,23 @@ type Person struct {
|
||||
|
||||
type Instructor Person
|
||||
|
||||
type QAElement struct {
|
||||
type Answer struct {
|
||||
ID int
|
||||
Text string
|
||||
}
|
||||
|
||||
type Answer QAElement
|
||||
|
||||
type Question struct {
|
||||
QAElement
|
||||
Text string
|
||||
Answers []Answer
|
||||
}
|
||||
|
||||
type Questionaire struct {
|
||||
UUID string
|
||||
Questions []Question
|
||||
Chosen int
|
||||
Correct int
|
||||
}
|
||||
|
||||
type Participant struct {
|
||||
ID int64
|
||||
Person
|
||||
Company string
|
||||
QuestionaireUUID string
|
||||
Company string
|
||||
Questions []Question
|
||||
}
|
||||
|
||||
type Briefing struct {
|
||||
@ -37,5 +32,5 @@ type Briefing struct {
|
||||
Time string
|
||||
State string
|
||||
Location string
|
||||
Participants []Participant
|
||||
Participants []*Participant
|
||||
}
|
||||
|
Reference in New Issue
Block a user