academico-sis /
academico
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App\Models; |
||
| 4 | |||
| 5 | use Backpack\CRUD\app\Models\Traits\CrudTrait; |
||
| 6 | use Illuminate\Database\Eloquent\Model; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @mixin IdeHelperInstitution |
||
| 10 | */ |
||
| 11 | class Institution extends Model |
||
| 12 | { |
||
| 13 | use CrudTrait; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 14 | |||
| 15 | protected $guarded = ['id']; |
||
| 16 | |||
| 17 | public function identifiableAttribute() |
||
| 18 | { |
||
| 19 | return $this->name; |
||
| 20 | } |
||
| 21 | } |
||
| 22 |