Files
HellreigN/backend/internal/models/job.go
T
2026-04-05 05:05:34 +03:00

23 lines
298 B
Go

package models
type JobBase struct {
ID int64
AgentID string
}
type JobForInsert struct {
Command []string
Stdin *string
}
type JobForUpdate struct {
Stdout string
Stderr string
Status int32
}
type Job struct {
JobBase
JobForInsert
Stdout *string
Stderr *string
Status *int32
}