Der Umstieg auf Sessions ist weitgehend geglückt
This commit is contained in:
@ -8,14 +8,12 @@ type Person struct {
|
||||
LastName string
|
||||
}
|
||||
|
||||
type Instructor struct {
|
||||
Person
|
||||
PersonnelID int
|
||||
}
|
||||
type Instructor Person
|
||||
|
||||
type Participant struct {
|
||||
Person
|
||||
Company string
|
||||
Login string
|
||||
}
|
||||
|
||||
type Briefing struct {
|
||||
@ -61,10 +59,8 @@ type OverviewTableData struct {
|
||||
}
|
||||
|
||||
type Session struct {
|
||||
ID uuid.UUID
|
||||
InstructorID int64
|
||||
BriefingID int64
|
||||
Logins []string
|
||||
ParticipantIDs []int64
|
||||
QuestionIDs []int64
|
||||
ID uuid.UUID
|
||||
*Briefing
|
||||
Participants []*Participant
|
||||
Questions []Question
|
||||
}
|
||||
|
Reference in New Issue
Block a user