<?php

namespace App\Models;

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

class PurchaseQuotationFile extends Model
{
    use HasFactory;

    protected $fillable = [
        'purchase_quotation_id',
        'file_path',
        'file_name',
    ];

    public function quotation()
    {
        return $this->belongsTo(PurchaseQuotation::class, 'purchase_quotation_id');
    }
}
