1
0

Start end end dates for tasks (#40)

This commit is contained in:
konrad
2018-12-22 15:45:16 +00:00
committed by Gitea
parent 7322bfafb3
commit 784b890f70
5 changed files with 41 additions and 23 deletions

View File

@ -35,6 +35,8 @@ type ListTask struct {
ParentTaskID int64 `xorm:"int(11) INDEX" json:"parentTaskID"`
Priority int64 `xorm:"int(11)" json:"priority"`
Sorting string `xorm:"-" json:"-" param:"sort"` // Parameter to sort by
StartDateUnix int64 `xorm:"int(11) INDEX" json:"startDate"`
EndDateUnix int64 `xorm:"int(11) INDEX" json:"endDate"`
Subtasks []*ListTask `xorm:"-" json:"subtasks"`