30 lines
1.1 KiB
Go
30 lines
1.1 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 TableNameAiBotConfig = "ai_bot_config"
|
|
|
|
// AiBotConfig mapped from table <ai_bot_config>
|
|
type AiBotConfig struct {
|
|
BotID int32 `gorm:"column:bot_id;primaryKey;autoIncrement:true" json:"bot_id"`
|
|
SysID int32 `gorm:"column:sys_id;not null" json:"sys_id"`
|
|
BotType int32 `gorm:"column:bot_type;not null;default:1" json:"bot_type"`
|
|
BotName string `gorm:"column:bot_name;not null" json:"bot_name"`
|
|
BotConfig string `gorm:"column:bot_config;not null" json:"bot_config"`
|
|
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
|
|
}
|