<?php

namespace App\Models;

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

class Region extends Model
{
    use HasFactory;

    protected $fillable=['country_id'];

    public function translations()
    {
        return $this->hasMany(RegionTranslation::class);
    }
    
    public function projects()
    {
        return $this->hasMany(Project::class);
    }
}
