// 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 TableNameAiSession = "ai_session" // AiSession mapped from table type AiSession struct { SysID int32 `gorm:"column:sys_id;not null" json:"sys_id"` SessionID string `gorm:"column:session_id;primaryKey" json:"session_id"` KnowlegeSessionID string `gorm:"column:knowlege_session_id;not null" json:"knowlege_session_id"` Title string `gorm:"column:title;not null" json:"title"` 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"` } // TableName AiSession's table name func (*AiSession) TableName() string { return TableNameAiSession }