Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/Modules/Location/app/Models/Country.php
Назад
<?php namespace Modules\Location\app\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; use Modules\Location\Database\factories\CountryFactory; class Country extends Model { use HasFactory; /** * The attributes that are mass assignable. */ protected $fillable = ['name','slug','status']; protected static function newFactory(): CountryFactory { //return CountryFactory::new(); } public function countryStates(){ return $this->hasMany(CountryState::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка