Add option to subscribe to mailinglist

This commit is contained in:
Gonne 2024-01-03 17:04:38 +01:00
parent 47c546b880
commit 5901846d22
10 changed files with 40 additions and 23 deletions

View file

@ -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 {

View file

@ -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 {