deploy commit

This commit is contained in:
2026-07-15 17:23:15 +07:00
commit b94ef4a695
148 changed files with 14831 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
<?php
namespace App\Http\Requests\V1;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Validation\Rule;
class RegisterRequest 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, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
'name' => ['required','string'],
'email' => ['required','email','unique:accounts,email'],
'phone' => ['required','string','unique:accounts,phone'],
'dob' => ['required','date'],
'password' => ['required','min:6','confirmed'],
//'role' => ['required', Rule::in(['patient','doctor'])],
];
}
}