Json field alias for WeeklyReport
This commit is contained in:
parent
b69f8d82ff
commit
23dd22eab5
1 changed files with 8 additions and 8 deletions
|
@ -3,19 +3,19 @@ package types
|
|||
// This is what should be submitted to the server, the username will be derived from the JWT token
|
||||
type NewWeeklyReport struct {
|
||||
// The name of the project, as it appears in the database
|
||||
ProjectName string
|
||||
ProjectName string `json:"projectName"`
|
||||
// The week number
|
||||
Week int
|
||||
Week int `json:"week"`
|
||||
// Total time spent on development
|
||||
DevelopmentTime int
|
||||
DevelopmentTime int `json:"developmentTime"`
|
||||
// Total time spent in meetings
|
||||
MeetingTime int
|
||||
MeetingTime int `json:"meetingTime"`
|
||||
// Total time spent on administrative tasks
|
||||
AdminTime int
|
||||
AdminTime int `json:"adminTime"`
|
||||
// Total time spent on personal projects
|
||||
OwnWorkTime int
|
||||
OwnWorkTime int `json:"ownWorkTime"`
|
||||
// Total time spent on studying
|
||||
StudyTime int
|
||||
StudyTime int `json:"studyTime"`
|
||||
// Total time spent on testing
|
||||
TestingTime int
|
||||
TestingTime int `json:"testingTime"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue