Verbessere Dokumentation
This commit is contained in:
parent
ec24c6c4dc
commit
fe54d76ab2
14 changed files with 75 additions and 34 deletions
|
@ -1,4 +1,4 @@
|
|||
// officeHour
|
||||
// The package models defines the stucts for objects, their repositories and the signatures of their functions.
|
||||
package models
|
||||
|
||||
type OfficeHour struct {
|
||||
|
@ -7,10 +7,10 @@ type OfficeHour struct {
|
|||
Date
|
||||
Room
|
||||
Course
|
||||
RoomName string
|
||||
RoomName string // A description of the room for special rooms that are not preconfigured.
|
||||
Info string
|
||||
Active bool
|
||||
Duration int
|
||||
Duration int // Duration in minutes. Must be divisible by the config field "MinuteGranularity".
|
||||
}
|
||||
|
||||
type OfficeHourRepository interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue