Großer Umbruch der Architektur, halb fertig, zu viele Details zum Aufzählen, in Zukunft wieder kleine Commits!

This commit is contained in:
2023-10-16 18:51:52 +02:00
parent 726c8b6dcb
commit 76f1fe9588
16 changed files with 483 additions and 158 deletions

View File

@ -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
}