init project

This commit is contained in:
2026-05-25 11:08:52 +07:00
commit 85c4b769cc
417 changed files with 67702 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class PatientUpdateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'uid' => 'required|integer|min:1',
'name_en' => 'required|string',
'patient_uuid' => 'nullable|string',
'dob' => 'required',
'gender' => 'required|integer',
'phone_number' => 'nullable',
'khid_number' => 'nullable',
'house_number' => 'nullable',
'street_number' => 'nullable',
'province_id' => 'nullable',
'district_id' => 'nullable',
'commune_id' => 'nullable',
'village_id' => 'nullable'
];
}
}