Initial commit

This commit is contained in:
root
2026-05-09 17:28:23 +02:00
commit 9d73f82529
5575 changed files with 281989 additions and 0 deletions
+75
View File
@@ -0,0 +1,75 @@
<?php
declare(strict_types=1);
namespace App\Filament\Resources\Base;
use Filament\Resources\Resource;
abstract class BaseResource extends Resource
{
/**
* Get the navigation group for the resource.
* Override in child classes to customize.
*/
#[\Override]
protected static string|\UnitEnum|null $navigationGroup = null;
/**
* Get the navigation icon for the resource.
* Override in child classes to customize.
*/
#[\Override]
protected static string|\BackedEnum|null $navigationIcon = 'heroicon-o-rectangle-stack';
/**
* Get the navigation sort order for the resource.
*/
#[\Override]
protected static ?int $navigationSort = null;
/**
* Get the form schema for the resource.
* Override this method in child classes.
*/
public static function getFormSchema(): array
{
return [];
}
/**
* Get the table columns for the resource.
* Override this method in child classes.
*/
public static function getTableColumns(): array
{
return [];
}
/**
* Get the filters for the resource.
* Override this method in child classes.
*/
public static function getFilters(): array
{
return [];
}
/**
* Get the actions for the resource.
* Override this method in child classes.
*/
public static function getActions(): array
{
return [];
}
/**
* Get the bulk actions for the resource.
* Override this method in child classes.
*/
public static function getBulkActions(): array
{
return [];
}
}