<?php

namespace App\Models;

use App\Models\Concerns\HasPublicId;
use Illuminate\Database\Eloquent\Model;

final class Attachment extends Model
{
    use HasPublicId;

    protected $table = 'attachments';

    protected $fillable = [
        'public_id',
        'company_id',
        'attachable_type',
        'attachable_id',
        'original_name',
        'stored_name',
        'disk',
        'path',
        'mime_type',
        'size_bytes',
        'sha256',
        'uploaded_by',
    ];
}
