30 lines
1.4 KiB
Go
30 lines
1.4 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 TableNameAiAdviceModelSup = "ai_advice_model_sup"
|
||
|
||
// AiAdviceModelSup mapped from table <ai_advice_model_sup>
|
||
type AiAdviceModelSup struct {
|
||
SupID int32 `gorm:"column:sup_id;primaryKey;autoIncrement:true" json:"sup_id"`
|
||
SupName string `gorm:"column:sup_name;not null;comment:备注" json:"sup_name"` // 备注
|
||
SupWay int32 `gorm:"column:sup_way;not null;comment:供应方,1:火山引擎" json:"sup_way"` // 供应方,1:火山引擎
|
||
Key string `gorm:"column:key;not null" json:"key"`
|
||
FileModel string `gorm:"column:file_model;not null;comment:文件读取model" json:"file_model"` // 文件读取model
|
||
JSONModel string `gorm:"column:json_model;not null;comment:json格式处理model" json:"json_model"` // json格式处理model
|
||
ChatModel string `gorm:"column:chat_model;not null;comment:对话模型" json:"chat_model"` // 对话模型
|
||
Mode int32 `gorm:"column:mode;not null;comment:模式" json:"mode"` // 模式
|
||
CreateAt time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_at"`
|
||
}
|
||
|
||
// TableName AiAdviceModelSup's table name
|
||
func (*AiAdviceModelSup) TableName() string {
|
||
return TableNameAiAdviceModelSup
|
||
}
|