ai_chatbot.go 684 Bytes
Newer Older
haoyanbin's avatar
1  
haoyanbin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// 自动生成模板InsurLog
package model

import (
	"time"
)

type AiChatbot struct {
	Id         uint      `gorm:"column:id;primary_key;AUTO_INCREMENT" json:"id"`
	UserId     uint      `gorm:"column:user_id;" json:"userId"`
	Question   string    `gorm:"column:question;NOT NULL" json:"question"`
	Answer     string    `gorm:"column:answer;NOT NULL" json:"answer"`
	Status     int       `gorm:"column:status;NOT NULL" json:"status"`
	CreateTime time.Time `json:"createTime" form:"createTime" gorm:"column:create_time;comment:;type:timestamp;default:null"`
	UpdateTime time.Time `json:"updateTime" form:"updateTime" gorm:"column:update_time;comment:;type:timestamp;default:null"`
}