// 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 TableNameAiBotConfig = "ai_bot_config" // AiBotConfig mapped from table type AiBotConfig struct { BotID int32 `gorm:"column:bot_id;primaryKey;autoIncrement:true" json:"bot_id"` BotType int32 `gorm:"column:bot_type;not null;default:1;comment:类型,1为钉钉机器人" json:"bot_type"` // 类型,1为钉钉机器人 SysPrompt string `gorm:"column:sys_prompt" json:"sys_prompt"` BotName string `gorm:"column:bot_name;not null;comment:名字" json:"bot_name"` // 名字 BotConfig string `gorm:"column:bot_config;not null;comment:配置" json:"bot_config"` // 配置 RobotCode string `gorm:"column:robot_code;not null;comment:索引" json:"robot_code"` // 索引 CreateAt time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_at"` UpdatedAt time.Time `gorm:"column:updated_at;default:CURRENT_TIMESTAMP" json:"updated_at"` Status int32 `gorm:"column:status;not null" json:"status"` DeleteAt time.Time `gorm:"column:delete_at" json:"delete_at"` } // TableName AiBotConfig's table name func (*AiBotConfig) TableName() string { return TableNameAiBotConfig }