<?php

namespace App\Models;

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

class BidAttachment extends Model
{
    use HasFactory;

    protected $fillable = [
        'bid_id',
        'file_name',
        'file_url',
        'file_type',
        'file_size',
    ];

    public function bid(): BelongsTo
    {
        return $this->belongsTo(Bid::class);
    }
}
