Spaces:
Running
Running
Download app/Models/Role1.php from lisatthu35/ewa: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Models/Role1.php
- Command line
-
hf download hf://spaces/lisatthu35/ewa/app/Models/Role1.php
-
curl -L -o Role1.php https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Models/Role1.php
494 Bytes
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Factories\HasFactory; | |
| use Spatie\Permission\Models\Role as BaseRole; | |
| use Illuminate\Support\Facades\DB; | |
| class Role extends BaseRole | |
| { | |
| use HasFactory; | |
| protected $table = 'roles'; | |
| protected $fillable = [ | |
| 'id', | |
| 'name', | |
| 'guard_name', | |
| 'created_at', | |
| 'updated_at', | |
| 'status', | |
| 'created_by', | |
| 'updated_by', | |
| 'description', | |
| 'sort_order', | |
| ]; | |
| } | |