32 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.3 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 TableNameAiSy = "ai_sys"
 | 
						|
 | 
						|
// AiSy mapped from table <ai_sys>
 | 
						|
type AiSy struct {
 | 
						|
	SysID             int32     `gorm:"column:sys_id;primaryKey;autoIncrement:true" json:"sys_id"`
 | 
						|
	SysName           string    `gorm:"column:sys_name;not null" json:"sys_name"`
 | 
						|
	AppKey            string    `gorm:"column:app_key;not null" json:"app_key"`
 | 
						|
	KnowlegeTenantKey string    `gorm:"column:knowlege_tenant_key;not null" json:"knowlege_tenant_key"`
 | 
						|
	KnowlegeBaseID    string    `gorm:"column:knowlege_base_id;not null" json:"knowlege_base_id"`
 | 
						|
	SysPrompt         string    `gorm:"column:sys_prompt" json:"sys_prompt"`
 | 
						|
	CreateAt          time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_at"`
 | 
						|
	UpdateAt          time.Time `gorm:"column:update_at;default:CURRENT_TIMESTAMP" json:"update_at"`
 | 
						|
	Status            int32     `gorm:"column:status;not null" json:"status"`
 | 
						|
	DeleteAt          time.Time `gorm:"column:delete_at" json:"delete_at"`
 | 
						|
	Prologue          string    `gorm:"column:prologue;comment:会话开场白" json:"prologue"` // 会话开场白
 | 
						|
}
 | 
						|
 | 
						|
// TableName AiSy's table name
 | 
						|
func (*AiSy) TableName() string {
 | 
						|
	return TableNameAiSy
 | 
						|
}
 |