2022-09-07 17:10:52 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Filament\Resources\System\SectionResource\RelationManagers;
|
|
|
|
|
|
|
|
|
|
use Filament\Forms;
|
|
|
|
|
use Filament\Resources\Form;
|
|
|
|
|
use Filament\Resources\RelationManagers\RelationManager;
|
|
|
|
|
use Filament\Resources\Table;
|
|
|
|
|
use Filament\Tables;
|
|
|
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
|
|
|
use Illuminate\Database\Eloquent\SoftDeletingScope;
|
|
|
|
|
|
2022-09-12 02:47:09 +08:00
|
|
|
class TaxonomyTeamsRelationManager extends TaxonomySourcesRelationManager
|
2022-09-07 17:10:52 +08:00
|
|
|
{
|
2022-09-14 19:05:29 +08:00
|
|
|
protected static string $relationship = 'taxonomy_team';
|
2022-09-07 17:10:52 +08:00
|
|
|
|
|
|
|
|
protected static ?string $recordTitleAttribute = 'name';
|
|
|
|
|
|
2022-09-12 02:47:09 +08:00
|
|
|
protected static ?string $torrentField = 'team';
|
2022-09-07 17:10:52 +08:00
|
|
|
|
|
|
|
|
}
|