ai_scheduler/internal/data/model/ai_advice_project.gen.go

34 lines
2.6 KiB
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.

// 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 TableNameAiAdviceProject = "ai_advice_project"
// AiAdviceProject mapped from table <ai_advice_project>
type AiAdviceProject struct {
ProjectID int32 `gorm:"column:project_id;primaryKey;autoIncrement:true" json:"project_id"`
Name string `gorm:"column:name;not null;comment:姓名" json:"name"` // 姓名
ModelSupID int32 `gorm:"column:model_sup_id;not null;comment:模型提供方配置,关联advicer_model_sup" json:"model_sup_id"` // 模型提供方配置,关联advicer_model_sup
IndustryID int32 `gorm:"column:industry_id;not null;default:0;comment:来源行业模板ID" json:"industry_id"` // 来源行业模板ID(ai_advice_industry_temp.industry_id),0=未关联
TemplateDesc string `gorm:"column:template_desc;type:text;comment:行业/项目介绍(模板副本)" json:"desc"` // 行业/项目介绍(模板副本)
TemplateAdvicerDesc string `gorm:"column:template_advicer_desc;type:text;comment:销售作用说明(模板副本)" json:"advicer_desc"` // 销售作用说明(模板副本)
ClientDimension string `gorm:"column:client_dimension;type:text;comment:客户维度(模板副本)" json:"client_dimension"` // 客户维度(模板副本)
ProjectDimension string `gorm:"column:project_dimension;type:text;comment:项目维度(模板副本)" json:"project_dimension"` // 项目维度(模板副本)
AdvicerDimension string `gorm:"column:advicer_dimension;type:text;comment:顾问维度(模板副本)" json:"advicer_dimension"` // 顾问维度(模板副本)
TalkSkillDimension string `gorm:"column:talk_skill_dimension;type:text;comment:聊天技巧维度(模板副本)" json:"talk_skill_dimension"` // 聊天技巧维度(模板副本)
RuleDimension string `gorm:"column:rule_dimension;type:text;comment:风控维度(模板副本)" json:"rule_dimension"` // 风控维度(模板副本)
WxToken string `gorm:"column:wx_token;comment:微信协议Token" json:"wx_token"` // 微信协议Token
CreateAt time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_at"`
}
// TableName AiAdviceProject's table name
func (*AiAdviceProject) TableName() string {
return TableNameAiAdviceProject
}