[ 'model' => \Litepie\Role\Models\Permission::class, 'table' => 'litepie_role_permissions', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'created_at', 'updated_at'], 'appends' => [], 'fillable' => ['name', 'description'], 'translatables' => [], 'upload_folder' => 'role/permission', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'search' => [ ], 'list' => [ [ "key" => "name", "type" => "text", "label" => 'role::permission.label.name', 'sort' => true, 'roles' => [], ], [ "key" => "slug", "type" => "text", "label" => 'role::permission.label.slug', 'sort' => true, 'roles' => [], ], ], 'form' => [ [ "key" => 'name', "element" => 'text', "type" => 'text', "label" => 'role::permission.label.name', "placeholder" => 'role::permission.placeholder.name', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'slug', "element" => 'text', "type" => 'text', "label" => 'role::permission.label.slug', "placeholder" => 'role::permission.placeholder.slug', "required" => 'true', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'description', "element" => 'textarea', "type" => 'textarea', "label" => 'role::permission.label.description', "placeholder" => 'role::permission.placeholder.description', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ], 'urls' => [ 'new' => [ 'url' => 'role/permission/new', 'method' => 'GET', ], 'create' => [ 'url' => 'role/permission/create', 'method' => 'GET', ], 'store' => [ 'url' => 'role/permission', 'method' => 'POST', ], 'update' => [ 'url' => 'role/permission', 'method' => 'PUT', ], 'list' => [ 'url' => 'role/permission', 'method' => 'GET', ], 'delete' => [ 'url' => 'role/permission', 'method' => 'DELETE', ], ], 'order' => [ 'created_at' => 'role::permission.label.created_at', 'name' => 'role::permission.label.name', 'status' => 'role::permission.label.status', ], 'groups' => [ [ 'icon' => "mdi:account-supervisor-outline", 'name' => "role::permission.groups.main", 'group' => "main.main", 'title' => "role::permission.groups.main", ], [ 'icon' => "fe:home", 'name' => "role::permission.groups.details", 'group' => "main.details", 'title' => "role::permission.groups.details", ], 'images' => [ 'icon' => "fe:home", 'name' => "role::permission.groups.images", 'group' => "main.images", 'title' => "role::permission.groups.images", ], 'settings' => [ 'icon' => "fe:home", 'name' => "role::permission.groups.settings", 'group' => "main.settings", 'title' => "role::permission.groups.settings", ] ], 'controller' => [ 'provider' => 'Litepie', 'package' => 'Role', 'module' => 'Permission', ], ];