first draft of AddTimeReport in db.go
This commit is contained in:
parent
7ed986e4eb
commit
5a85f2bf81
2 changed files with 7 additions and 23 deletions
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue