birzha-legalizasia/app/Http/Requests/API/CompanyProfileDocRequest.php

36 lines
831 B
PHP

<?php
namespace App\Http\Requests\API;
use Illuminate\Foundation\Http\FormRequest;
class CompanyProfileDocRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return false;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, mixed>
*/
public function rules()
{
return [
'fond_capital' => 'required',
'management_types' => 'required',
'signers' => 'required',
'share_holders' => 'required',
'organizational_form' => 'required',
'is_agent' => 'required'
];
}
}