[feat] 新增 ResJob 支持
This commit is contained in:
parent
e17e0e2892
commit
a72e15f305
14
base/res_job.go
Normal file
14
base/res_job.go
Normal file
@ -0,0 +1,14 @@
|
||||
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)
|
Loading…
Reference in New Issue
Block a user