mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-31 16:59:14 +02:00
45 lines
1.2 KiB
Go
45 lines
1.2 KiB
Go
package v3
|
|
|
|
// seminarGroups Model for fetching json data
|
|
type seminarGroups struct {
|
|
TotalItems int `json:"hydra:totalItems"`
|
|
Groups []seminarGroup `json:"hydra:member"`
|
|
}
|
|
|
|
type seminarGroup struct {
|
|
Type string `json:"@type"`
|
|
ID string `json:"id"`
|
|
Semester string `json:"semester"`
|
|
Faculty string `json:"fakultaet"`
|
|
Studiengang string `json:"studiengang"`
|
|
SeminarGroup string `json:"kuerzel"`
|
|
}
|
|
|
|
type studyTypes struct {
|
|
TotalItems int `json:"hydra:totalItems"`
|
|
Types []studyType `json:"hydra:member"`
|
|
}
|
|
|
|
type studyType struct {
|
|
Type string `json:"@type"`
|
|
ID string `json:"id"`
|
|
Faculty string `json:"fakultaet"`
|
|
Semester string `json:"semester"`
|
|
ShortCut string `json:"kuerzel"`
|
|
Description string `json:"bezeichnung"`
|
|
GroupID string `json:"studiengangskuerzel"`
|
|
}
|
|
|
|
type faculties struct {
|
|
TotalItems int `json:"hydra:totalItems"`
|
|
Faculties []faculty `json:"hydra:member"`
|
|
}
|
|
|
|
type faculty struct {
|
|
ID string `json:"id"`
|
|
StudyTypes []string `json:"studiengaenge"`
|
|
ShortCut string `json:"kuerzel"`
|
|
Description string `json:"bezeichnung"`
|
|
Internal string `json:"internal"`
|
|
}
|