mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-20 00:43:44 +08:00
v2.0
This commit is contained in:
25
server/internal/model/entity/sys_cron.go
Normal file
25
server/internal/model/entity/sys_cron.go
Normal file
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysCron is the golang structure for table sys_cron.
|
||||
type SysCron struct {
|
||||
Id int64 `json:"id" description:"主键"`
|
||||
GroupId int64 `json:"groupId" description:"分组ID"`
|
||||
Name string `json:"name" description:"任务名称"`
|
||||
Params string `json:"params" description:"函数参数"`
|
||||
Pattern string `json:"pattern" description:"定时表达式"`
|
||||
Policy int64 `json:"policy" description:"策略"`
|
||||
Count int64 `json:"count" description:"执行次数"`
|
||||
Sort int `json:"sort" description:"排序"`
|
||||
Remark string `json:"remark" description:"备注"`
|
||||
Status int `json:"status" description:"状态"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
|
||||
}
|
Reference in New Issue
Block a user