first draft of AddTimeReport in db.go

This commit is contained in:
borean 2024-03-07 21:57:27 +01:00
parent 7ed986e4eb
commit 5a85f2bf81
2 changed files with 7 additions and 23 deletions

View file

@ -1,19 +0,0 @@
package model
type TimeReport struct {
reportId string
projectName string
userName string
userRole string
reportDate string
timeWorked uint64
isSigned bool
reportStatus string // Example "draft", "signed", "unsigned"
}
type Project struct {
timeReports []TimeReport
projectName string
projectmembers map[string]User
projectRoles map[string]User
}