33 lines
1.9 KiB
Go
33 lines
1.9 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const TableNameAiAdviceSession = "ai_advice_session"
|
|
|
|
// AiAdviceSession mapped from table <ai_advice_session>
|
|
type AiAdviceSession struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
SessionID string `gorm:"column:session_id;not null" json:"session_id"`
|
|
ProjectID int32 `gorm:"column:project_id;not null" json:"project_id"`
|
|
SupID int32 `gorm:"column:sup_id;not null" json:"sup_id"`
|
|
AdvicerVersionID string `gorm:"column:advicer_version_id;not null;comment:顾问版本" json:"advicer_version_id"` // 顾问版本
|
|
ClientID string `gorm:"column:client_id;not null;comment:客户信息id" json:"client_id"` // 客户信息id
|
|
TalkSkillID string `gorm:"column:talk_skill_id;not null;comment:聊天话术id" json:"talk_skill_id"` // 聊天话术id
|
|
ContextCache string `gorm:"column:context_cache;not null;comment:上下文缓存信息(火山引擎)" json:"context_cache"` // 上下文缓存信息(火山引擎)
|
|
Mission string `gorm:"column:mission;not null;comment:任务" json:"mission"` // 任务
|
|
MissionStatus string `gorm:"column:mission_status;not null;default:1;comment:任务状态" json:"mission_status"` // 任务状态
|
|
MissionCompleteDesc string `gorm:"column:mission_complete_desc;not null;comment:任务完成描述" json:"mission_complete_desc"` // 任务完成描述
|
|
CreateAt time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_at"`
|
|
}
|
|
|
|
// TableName AiAdviceSession's table name
|
|
func (*AiAdviceSession) TableName() string {
|
|
return TableNameAiAdviceSession
|
|
}
|