MCPcopy Index your code
hub / github.com/apache/devlake / Subtask

Struct Subtask

backend/core/models/task.go:86–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86type Subtask struct {
87 common.Model
88 TaskID uint64 `json:"task_id" gorm:"index"`
89 Name string `json:"name" gorm:"index"`
90 Number int `json:"number"`
91 BeganAt *time.Time `json:"beganAt"`
92 FinishedAt *time.Time `json:"finishedAt" gorm:"index"`
93 SpentSeconds int64 `json:"spentSeconds"`
94 FinishedRecords int `json:"finishedRecords"`
95 Sequence int `json:"sequence"`
96 IsCollector bool `json:"isCollector"`
97 IsFailed bool `json:"isFailed"`
98 Message string `json:"message"`
99}
100
101func (Subtask) TableName() string {
102 return "_devlake_subtasks"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected