chore: replace all cn comments to en version by volc api (#313)
This commit is contained in:
@@ -56,33 +56,33 @@ func newShortcutCommand(db *gorm.DB, opts ...gen.DOOption) shortcutCommand {
|
||||
return _shortcutCommand
|
||||
}
|
||||
|
||||
// shortcutCommand bot快捷指令表
|
||||
// shortcutCommand bot shortcut command table
|
||||
type shortcutCommand struct {
|
||||
shortcutCommandDo
|
||||
|
||||
ALL field.Asterisk
|
||||
ID field.Int64 // 主键ID
|
||||
ObjectID field.Int64 // 实体ID,该实体可用这个指令
|
||||
CommandID field.Int64 // 命令ID
|
||||
CommandName field.String // 命令名称
|
||||
ShortcutCommand field.String // 快捷指令
|
||||
Description field.String // 命令描述
|
||||
SendType field.Int32 // 发送类型 0:query 1:panel
|
||||
ToolType field.Int32 // 使用工具的type 1:workFlow 2:插件
|
||||
WorkFlowID field.Int64 // 使用workFlow的id
|
||||
PluginID field.Int64 // 使用插件的id
|
||||
PluginToolName field.String // 使用插件的api_name
|
||||
TemplateQuery field.String // query模板
|
||||
Components field.Field // panel参数
|
||||
CardSchema field.String // 卡片schema
|
||||
ToolInfo field.Field // 工具信息 包含name+变量列表
|
||||
Status field.Int32 // 状态,0无效,1有效
|
||||
CreatorID field.Int64 // 创建者ID
|
||||
IsOnline field.Int32 // 是否为线上信息 0草稿 1线上
|
||||
CreatedAt field.Int64 // 创建时间
|
||||
UpdatedAt field.Int64 // 更新时间
|
||||
AgentID field.Int64 // multi的指令时,该指令由哪个节点执行
|
||||
ShortcutIcon field.Field // 快捷指令图标
|
||||
ID field.Int64 // id
|
||||
ObjectID field.Int64 // Entity ID, this command can be used for this entity
|
||||
CommandID field.Int64 // command id
|
||||
CommandName field.String // command name
|
||||
ShortcutCommand field.String // shortcut command
|
||||
Description field.String // description
|
||||
SendType field.Int32 // send type 0:query 1:panel
|
||||
ToolType field.Int32 // Type 1 of tool used: WorkFlow 2: Plugin
|
||||
WorkFlowID field.Int64 // workflow id
|
||||
PluginID field.Int64 // plugin id
|
||||
PluginToolName field.String // plugin tool name
|
||||
TemplateQuery field.String // template query
|
||||
Components field.Field // Panel parameters
|
||||
CardSchema field.String // card schema
|
||||
ToolInfo field.Field // Tool information includes name+variable list
|
||||
Status field.Int32 // Status, 0 is invalid, 1 is valid
|
||||
CreatorID field.Int64 // creator id
|
||||
IsOnline field.Int32 // Is online information: 0 draft 1 online
|
||||
CreatedAt field.Int64 // Create Time in Milliseconds
|
||||
UpdatedAt field.Int64 // Update Time in Milliseconds
|
||||
AgentID field.Int64 // When executing a multi instruction, which node executes the instruction
|
||||
ShortcutIcon field.Field // shortcut icon
|
||||
PluginToolID field.Int64 // tool_id
|
||||
|
||||
fieldMap map[string]field.Expr
|
||||
|
||||
Reference in New Issue
Block a user