3 Star 2 Fork 1

fotomxq/weeekj_core

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
fields_system_mission.go 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
fotomxq 提交于 2024-07-15 00:40 +08:00 . 完善系统任务初始化定义;
package BaseSystemMission
import "time"
// FieldsMission 任务记录
type FieldsMission struct {
//ID
ID int64 `db:"id" json:"id" unique:"true"`
//更新时间
UpdateAt time.Time `db:"update_at" json:"updateAt" default:"now()"`
//组织ID
// 如果为0则为系统服务
OrgID int64 `db:"org_id" json:"orgID" check:"id" empty:"true" index:"true"`
//任务名称
Name string `db:"name" json:"name" check:"des" min:"1" max:"300" empty:"true"`
//标识码
Mark string `db:"mark" json:"mark" check:"mark"`
//开始时间
StartAt time.Time `db:"start_at" json:"startAt" default:"0"`
//当前执行提示
NowTip string `db:"now_tip" json:"nowTip" check:"des" min:"1" max:"1000" empty:"true"`
//停止时间
StopAt time.Time `db:"stop_at" json:"stopAt" default:"0"`
//暂停时间
PauseAt time.Time `db:"pause_at" json:"pauseAt" default:"0"`
//暂停位置
Location string `db:"location" json:"location" check:"des" min:"1" max:"1000" empty:"true"`
//总数量
AllCount int64 `db:"all_count" json:"allCount"`
//已经执行数量
RunCount int64 `db:"run_count" json:"runCount"`
//总消耗时间秒
RunAllSec int64 `db:"run_all_sec" json:"runAllSec"`
//计划执行时间
NextTime string `db:"next_time" json:"nextTime"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/fotomxq/weeekj_core.git
git@gitee.com:fotomxq/weeekj_core.git
fotomxq
weeekj_core
weeekj_core
v5.4.29

搜索帮助