3 Star 2 Fork 1

fotomxq/weeekj_core

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
fields_event.go 1.25 KB
Copy Edit Raw Blame History
刘云 authored 2024-03-30 09:43 +08:00 . 修正bpm底层相关时间字段名称
package BaseBPM
import "time"
// FieldsEvent 节点事件注册
type FieldsEvent struct {
//ID
ID int64 `db:"id" json:"id" check:"id"`
//创建时间
CreateAt time.Time `db:"create_at" json:"createAt"`
//更新时间
UpdateAt time.Time `db:"update_at" json:"updateAt"`
//删除时间
DeleteAt time.Time `db:"delete_at" json:"deleteAt"`
//名称
Name string `db:"name" json:"name" check:"des" min:"1" max:"300"`
//描述
Description string `db:"description" json:"description" check:"des" min:"1" max:"500" empty:"true"`
//所属主题分类
ThemeCategoryID int64 `db:"theme_category_id" json:"themeCategoryId" check:"id"`
//所属主题
// 插槽可用于的主题域
ThemeID int64 `db:"theme_id" json:"themeId" check:"id"`
//事件编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"300"`
//事件类型
// nats - NATS事件
EventType string `db:"event_type" json:"eventType" check:"intThan0"`
//事件地址
// nats - 触发的地址
EventURL string `db:"event_url" json:"eventURL" check:"des" min:"1" max:"600"`
//事件固定参数
// nats - 事件附带的固定参数,如果为空则根据流程阶段事件触发填入
EventParams string `db:"event_params" json:"eventParams" check:"des" min:"1" max:"1000" empty:"true"`
}
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.28

Search