chore: replace all cn comments to en version by volc api (#313)
This commit is contained in:
@@ -6,18 +6,18 @@ package model
|
||||
|
||||
const TableNameConversation = "conversation"
|
||||
|
||||
// Conversation 会话信息表
|
||||
// Conversation conversation info record
|
||||
type Conversation struct {
|
||||
ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
|
||||
ConnectorID int64 `gorm:"column:connector_id;not null;comment:业务线 ID" json:"connector_id"` // 业务线 ID
|
||||
AgentID int64 `gorm:"column:agent_id;not null;comment:agent_id" json:"agent_id"` // agent_id
|
||||
Scene int32 `gorm:"column:scene;not null;comment:会话场景" json:"scene"` // 会话场景
|
||||
SectionID int64 `gorm:"column:section_id;not null;comment:最新section_id" json:"section_id"` // 最新section_id
|
||||
CreatorID int64 `gorm:"column:creator_id;comment:创建者id" json:"creator_id"` // 创建者id
|
||||
Ext string `gorm:"column:ext;comment:扩展字段" json:"ext"` // 扩展字段
|
||||
Status int32 `gorm:"column:status;not null;default:1;comment:status: 1-normal 2-deleted" json:"status"` // status: 1-normal 2-deleted
|
||||
CreatedAt int64 `gorm:"column:created_at;not null;autoCreateTime:milli;comment:创建时间" json:"created_at"` // 创建时间
|
||||
UpdatedAt int64 `gorm:"column:updated_at;not null;autoUpdateTime:milli;comment:更新时间" json:"updated_at"` // 更新时间
|
||||
ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:id" json:"id"` // id
|
||||
ConnectorID int64 `gorm:"column:connector_id;not null;comment:Publish Connector ID" json:"connector_id"` // Publish Connector ID
|
||||
AgentID int64 `gorm:"column:agent_id;not null;comment:agent_id" json:"agent_id"` // agent_id
|
||||
Scene int32 `gorm:"column:scene;not null;comment:conversation scene" json:"scene"` // conversation scene
|
||||
SectionID int64 `gorm:"column:section_id;not null;comment:section_id" json:"section_id"` // section_id
|
||||
CreatorID int64 `gorm:"column:creator_id;comment:creator_id" json:"creator_id"` // creator_id
|
||||
Ext string `gorm:"column:ext;comment:ext" json:"ext"` // ext
|
||||
Status int32 `gorm:"column:status;not null;default:1;comment:status: 1-normal 2-deleted" json:"status"` // status: 1-normal 2-deleted
|
||||
CreatedAt int64 `gorm:"column:created_at;not null;autoCreateTime:milli;comment:Create Time in Milliseconds" json:"created_at"` // Create Time in Milliseconds
|
||||
UpdatedAt int64 `gorm:"column:updated_at;not null;autoUpdateTime:milli;comment:Update Time in Milliseconds" json:"updated_at"` // Update Time in Milliseconds
|
||||
}
|
||||
|
||||
// TableName Conversation's table name
|
||||
|
||||
@@ -43,21 +43,21 @@ func newConversation(db *gorm.DB, opts ...gen.DOOption) conversation {
|
||||
return _conversation
|
||||
}
|
||||
|
||||
// conversation 会话信息表
|
||||
// conversation conversation info record
|
||||
type conversation struct {
|
||||
conversationDo
|
||||
|
||||
ALL field.Asterisk
|
||||
ID field.Int64 // 主键ID
|
||||
ConnectorID field.Int64 // 业务线 ID
|
||||
ID field.Int64 // id
|
||||
ConnectorID field.Int64 // Publish Connector ID
|
||||
AgentID field.Int64 // agent_id
|
||||
Scene field.Int32 // 会话场景
|
||||
SectionID field.Int64 // 最新section_id
|
||||
CreatorID field.Int64 // 创建者id
|
||||
Ext field.String // 扩展字段
|
||||
Scene field.Int32 // conversation scene
|
||||
SectionID field.Int64 // section_id
|
||||
CreatorID field.Int64 // creator_id
|
||||
Ext field.String // ext
|
||||
Status field.Int32 // status: 1-normal 2-deleted
|
||||
CreatedAt field.Int64 // 创建时间
|
||||
UpdatedAt field.Int64 // 更新时间
|
||||
CreatedAt field.Int64 // Create Time in Milliseconds
|
||||
UpdatedAt field.Int64 // Update Time in Milliseconds
|
||||
|
||||
fieldMap map[string]field.Expr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user