package entity

import (
	"time"
)

type AIChatMessages struct {
	ID          uint      `json:"id" gorm:"primaryKey;type:int4;autoIncrement"`
	SessionID   string    `json:"session_id" gorm:"type:varchar;not null;index"`
	MessageType string    `json:"message_type" gorm:"type:varchar;not null"`
	Content     string    `json:"content" gorm:"type:text;not null"`
	IsActive    bool      `json:"is_active" gorm:"type:bool;default:true"`
	CreatedAt   time.Time `json:"created_at" gorm:"default:now()"`
}
