// 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 TableNameAiChatHi = "ai_chat_his" // AiChatHi mapped from table type AiChatHi struct { HisID int64 `gorm:"column:his_id;primaryKey" json:"his_id"` SessionID string `gorm:"column:session_id;not null" json:"session_id"` Role string `gorm:"column:role;not null" json:"role"` Content string `gorm:"column:content;not null" json:"content"` CreateAt time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_at"` } // TableName AiChatHi's table name func (*AiChatHi) TableName() string { return TableNameAiChatHi }