You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
908 B
28 lines
908 B
package models
|
|
|
|
import "time"
|
|
|
|
// An IssueTask is a task within an issue.
|
|
type IssueTask struct {
|
|
ID string `db:"issue_task_id"`
|
|
IssueID string `db:"issue_id"`
|
|
ActivityID string `db:"activity_id"`
|
|
CreatedTime time.Time `db:"created_time"`
|
|
UpdatedTime time.Time `db:"updated_time"`
|
|
DueTime *time.Time `db:"due_time"`
|
|
StatusStage int `db:"status_stage"`
|
|
StatusName string `db:"status_name"`
|
|
Name string `db:"name"`
|
|
Description string `db:"description"`
|
|
EstimatedTime time.Duration `db:"estimated_time"`
|
|
EstimatedUnits int `db:"estimated_units"`
|
|
PointsMultiplier float64 `db:"points_multiplier"`
|
|
}
|
|
|
|
type IssueTaskFilter struct {
|
|
IssueTaskIDs []string
|
|
IssueIDs []string
|
|
ActivityIDs []string
|
|
MinStage *int
|
|
MaxStage *int
|
|
}
|