<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Concerns\HasUuids;

class Image extends Model
{
    use HasFactory;

    protected $fillable = [
        'path',
        'uuid',
        'original_image_id',
        'style_id',
        'is_temp',
        'is_public',
        'comfyui_prompt_id',
    ];

    public function style()
    {
        return $this->belongsTo(Style::class);
    }
}
