<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PromptUsageStat extends Model
{
    protected $fillable = [
        'signature',
        'preview',
        'use_count',
        'last_used_at',
    ];

    /**
     * @return array<string, string>
     */
    protected function casts(): array
    {
        return [
            'last_used_at' => 'datetime',
        ];
    }
}
