<?php

namespace App\Models;

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

class PluginSourceSnapshot extends Model
{
    use HasFactory;

    protected $fillable = [
        'source_hash',
        'tracked_file_count',
    ];

    public function fileChanges()
    {
        return $this->hasMany(PluginFileChange::class);
    }
}
