crate service and request for create user

This commit is contained in:
2025-11-03 19:28:32 +03:30
parent 4ba3636ce8
commit d3d39dcc49
10 changed files with 437 additions and 159 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace App\Http\Requests\V3\Dashboard\UserManagement;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Foundation\Http\FormRequest;
class ChangeConfirmStatusRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, ValidationRule|array|string>
*/
public function rules(): array
{
return [
'confirm' => 'required|in:0,1',
];
}
}