changed module model and fixed empty name in event while fetch

This commit is contained in:
Elmar Kresse
2023-09-30 21:44:43 +02:00
parent 86f2636681
commit b1927864c2
5 changed files with 31 additions and 42 deletions

View File

@@ -9,18 +9,3 @@ type SeminarGroup struct {
FacultyId string
Events []Event
}
type Event struct {
Day string `db:"course"`
Week string `db:"Week"`
Start string `db:"Start"`
End string `db:"End"`
Name string `db:"Name"`
EventType string `db:"EventType"`
Prof string `db:"Prof"`
Rooms string `db:"Rooms"`
Notes string `db:"Notes"`
BookedAt string `db:"BookedAt"`
Course string `db:"course"`
Semester string `db:"semester"`
}