feat: implement BankAccount management with CRUD operations and selection for tenants
This commit is contained in:
26
app/Domains/Tenant/Requests/StoreBankAccountRequest.php
Normal file
26
app/Domains/Tenant/Requests/StoreBankAccountRequest.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domains\Tenant\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class StoreBankAccountRequest extends FormRequest
|
||||
{
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'titular' => ['required', 'string', 'max:255'],
|
||||
'entidad' => ['required', 'string', 'max:255'],
|
||||
'alias' => ['required', 'string', 'max:255'],
|
||||
'cvu' => ['required', 'string', 'max:255'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user