feat: console add task tree ui

This commit is contained in:
langhuihui
2024-08-18 22:18:39 +08:00
parent 5cc3fdecf9
commit 3d0609e4a8
86 changed files with 21046 additions and 33 deletions

View File

@@ -0,0 +1,19 @@
package monitor
import (
"time"
)
type Task struct {
ID uint32 `gorm:"primarykey"`
CreatedAt time.Time
StartTime time.Time
OwnerType string
TaskType byte
Description string
Reason string
}
func (i *Task) GetKey() uint32 {
return i.ID
}