// 自动生成模板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"` }