26 lines
746 B
Go
26 lines
746 B
Go
package entity
|
||
|
||
import (
|
||
"gitea.redpowerfuture.com/red-future/common/beans"
|
||
)
|
||
|
||
// FlowCheckpoint checkpoint数据实体,对应 workflow_interrupt 表
|
||
type FlowCheckpoint struct {
|
||
beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt
|
||
// 业务字段
|
||
CheckpointId string `orm:"checkpoint_id" json:"checkpointId" description:"Checkpoint ID(执行ID)"`
|
||
Data string `orm:"data" json:"data" description:"Checkpoint序列化数据"`
|
||
}
|
||
|
||
type flowCheckpointCol struct {
|
||
beans.SQLBaseCol
|
||
CheckpointId string
|
||
Data string
|
||
}
|
||
|
||
var FlowCheckpointCol = flowCheckpointCol{
|
||
SQLBaseCol: beans.DefSQLBaseCol,
|
||
CheckpointId: "checkpoint_id",
|
||
Data: "data",
|
||
}
|