file correction
This commit is contained in:
parent
a22dcb9f4e
commit
ae9ee91bc4
1 changed files with 19 additions and 0 deletions
19
backend/internal/model/timereport.go
Normal file
19
backend/internal/model/timereport.go
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue