import type { Personality as PrismaPersonality } from "@prisma/client";

/**
 * Personality entity representing an assistant configuration
 */
export class Personality implements PrismaPersonality {
  id!: string;
  workspaceId!: string;
  name!: string; // unique identifier slug
  displayName!: string; // human-readable name
  description!: string | null;
  systemPrompt!: string;
  temperature!: number | null; // null = use provider default
  maxTokens!: number | null; // null = use provider default
  llmProviderInstanceId!: string | null; // FK to LlmProviderInstance
  isDefault!: boolean;
  isEnabled!: boolean;
  createdAt!: Date;
  updatedAt!: Date;
}
