Add option to subscribe to mailinglist
This commit is contained in:
parent
47c546b880
commit
5901846d22
10 changed files with 40 additions and 23 deletions
|
@ -12,7 +12,7 @@ type Request struct {
|
|||
|
||||
const (
|
||||
RequestActivate RequestAction = iota // Fix integer to represent request for activation of an office hour.
|
||||
RequestDelete // Fix integer to represent request for deletion of an office hour.
|
||||
RequestDelete // Fix integer to represent request for deletion of an office hour.
|
||||
)
|
||||
|
||||
type RequestRepository interface {
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
package models
|
||||
|
||||
type Tutor struct {
|
||||
Id int
|
||||
Name string
|
||||
Email string
|
||||
Id int
|
||||
Name string
|
||||
Email string
|
||||
SubscribeToMailinglist bool // Wants to subscribe to the mailinglist for student assistents
|
||||
}
|
||||
|
||||
type TutorRepository interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue