mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-14 16:49:34 +08:00
18 lines
546 B
Go
18 lines
546 B
Go
|
package model
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
type Task struct {
|
||
|
ID string `gorm:"primarykey;" json:"id"`
|
||
|
Name string `json:"name"`
|
||
|
Type string `json:"type"`
|
||
|
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"`
|
||
|
}
|