contracts/base/res_job.go
2023-06-08 15:18:17 +08:00

15 lines
377 B
Go

package base
type ResJob struct {
Uuid string `db:"uuid"`
Code string `db:"code"`
Name string `db:"name"`
ResourceUuid string `db:"resource_uuid"`
Replay int64 `db:"replay"`
IsRecord bool `db:"isRecord"`
UpdatedAt string `db:"updated_at"`
CreatedAt string `db:"created_at"`
}
type GetResJob func(code string) (ResJob, bool)