27 lines
584 B
PHP
27 lines
584 B
PHP
<?php
|
|
|
|
namespace App\Domains\Tenant\Requests;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class UpdateBankAccountRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'titular' => ['sometimes', 'string', 'max:255'],
|
|
'entidad' => ['sometimes', 'string', 'max:255'],
|
|
'alias' => ['sometimes', 'string', 'max:255'],
|
|
'cvu' => ['sometimes', 'string', 'max:255'],
|
|
];
|
|
}
|
|
}
|