1Panel/agent/app/model/task.go

19 lines
589 B
Go
Raw Normal View History

2024-07-29 18:09:57 +08:00
package model
import "time"
type Task struct {
ID string `gorm:"primarykey;" json:"id"`
Name string `json:"name"`
Type string `json:"type"`
2024-08-02 16:00:15 +08:00
Operate string `json:"operate"`
2024-07-29 18:09:57 +08:00
LogFile string `json:"logFile"`
Status string `json:"status"`
ErrorMsg string `json:"errorMsg"`
OperationLogID uint `json:"operationLogID"`
ResourceID uint `json:"resourceID"`
CurrentStep string `json:"currentStep"`
EndAt time.Time `json:"endAt"`
CreatedAt time.Time `json:"createdAt"`
}