create resource for roles & permisissions

This commit is contained in:
nurmuhammet committed 2023-11-23 16:01:09 +05:00
1 parent 9641c35f33
commit 4f9e36f970
5 files changed
+230 -2

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Models\System\Roles;
use Spatie\Permission\Models\Role as SpatieRole;
use Spatie\Translatable\HasTranslations;
class Role extends SpatieRole
{
use HasTranslations;
/**
* Translatable fields
*
* @var array<string>
*/
public $translatable = ['display_name'];
}