📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 01:45:36
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
app
/
Models
📍 /home/orkouolp/web/testing.orkobd/laravel/app/Models
🔄 Refresh
✏️
Editing: IndustryType.php
Writable
<?php namespace App\Models; use Cviebrock\EloquentSluggable\Sluggable; use Illuminate\Database\Eloquent\Model; class IndustryType extends Model { use Sluggable; protected $fillable = ['name']; public function sluggable():array { return [ 'slug' => ['source' => 'name'] ]; } function companies() { return $this->hasMany(Company::class, 'industry_type_id', 'id'); } }
💾 Save Changes
❌ Cancel