Added SignWeeklyReport function and 2 corresponding test, also small change to WeeklyReport.go

This commit is contained in:
dDogge 2024-03-17 20:30:55 +01:00
parent e03727613d
commit 37bbbb6098
3 changed files with 160 additions and 1 deletions

View file

@ -41,4 +41,6 @@ type WeeklyReport struct {
StudyTime int `json:"studyTime" db:"study_time"`
// Total time spent on testing
TestingTime int `json:"testingTime" db:"testing_time"`
// The project manager who signed it
SignedBy *int `json:"signedBy" db:"signed_by"`
}