<?php

namespace App\Models;

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

class Place extends Model
{
    use HasFactory;

    protected $fillable = ['title', 'description']; // Define fillable fields

    public function reviews()
    {
        return $this->hasMany(Review::class);
    }
}
