Add admin index page

This commit is contained in:
2020-10-11 23:02:57 +02:00
parent e5c0df6f6f
commit 2a1ef7f2cb
5 changed files with 39 additions and 11 deletions

View File

@@ -9,3 +9,10 @@ type Washlist struct {
Washed int `json:"iswashed"`
DateString string `json:"datestring"`
}
type WashlistAdmin struct {
Id int `json:"id"`
PersonId int `json:"personid"`
Date time.Time `json:"date"`
DateString string `json:"datestring"`
}