22 lines
639 B
PHP
22 lines
639 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Parents;
|
|
|
|
use App\Http\Requests\ApiFormRequest;
|
|
|
|
class ParentProfileUpdateRequest extends ApiFormRequest
|
|
{
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'firstname' => ['required', 'string', 'max:255'],
|
|
'lastname' => ['required', 'string', 'max:255'],
|
|
'cellphone' => ['required', 'string', 'max:25'],
|
|
'address_street' => ['required', 'string', 'max:255'],
|
|
'city' => ['required', 'string', 'max:255'],
|
|
'state' => ['required', 'string', 'max:25'],
|
|
'zip' => ['required', 'string', 'max:25'],
|
|
];
|
|
}
|
|
}
|