<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ForumAttachment extends Model
{
    protected $table = 'forum_attachments';

    protected $fillable = [
        'id','post_id','file_path','file_size','mime_type','width','height'
    ];

    public $incrementing = true;

    public function post()
    {
        return $this->belongsTo(ForumPost::class, 'post_id');
    }
}
