svoydom/app/Models/Country.php

20 lines
314 B
PHP
Raw Normal View History

2023-05-17 09:57:20 +03:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Country extends Model
{
use HasFactory;
protected $fillable=[];
public function translations()
{
return $this->hasMany(CountryTranslation::class);
}
}