<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class City extends Model
{
    protected $fillable = [
        'name',
    ];

    public function neighborhoods() {
        return $this->hasMany(Neighborhood::class);
    }

    public function properties() {
        return $this->hasMany(Property::class);
    }
}
