<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\SoftDeletes;
class FacilitiesPhoto extends Model
{
    use SoftDeletes;
    use HasFactory;
    protected $fillable = [
        'facility_id',
        'photo_path',
    ];

    public function facility()
    {
        return $this->belongsTo(Facilities::class);
    }
}
