Files
ai-agent/workflow/model/entity/flow_checkpoint.go
T

26 lines
746 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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",
}