58 lines
1.8 KiB
PHP
58 lines
1.8 KiB
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Events\Schemas;
|
|
|
|
use Filament\Forms\Components\DateTimePicker;
|
|
use Filament\Forms\Components\TextInput;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class EventForm
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
DateTimePicker::make('starttime'),
|
|
TextInput::make('sport_id')
|
|
->required()
|
|
->numeric(),
|
|
TextInput::make('country_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('liga_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('home_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('away_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('provider_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('txodds_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('betaid_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('betradar_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('magnig_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('magken_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('lognig_id')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('logcol_id')
|
|
->numeric()
|
|
->default(0),
|
|
]);
|
|
}
|
|
}
|