migrate to gtea from bistbucket

This commit is contained in:
2026-03-15 17:08:23 +07:00
commit 129ca2260c
3716 changed files with 566316 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace Modules\HRM\Http\Requests\Interview;
use Illuminate\Foundation\Http\FormRequest;
class InterviewStoreRequest extends FormRequest
{
public function rules(): array
{
return [
'candidate_id' => ['required', 'exists:candidates,id'],
'department_id' => ['nullable', 'exists:departments,id'],
'interview_date' => ['required'],
'interviewer_name' => ['nullable', 'string', 'max:100'],
'feedback' => ['nullable', 'string', 'max:2000'],
'status' => ['nullable', 'in:pending,shortlisted,rejected,hired'],
'rating' => ['nullable'],
];
}
public function authorize(): bool
{
return true;
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace Modules\HRM\Http\Requests\Interview;
use Illuminate\Foundation\Http\FormRequest;
class InterviewUpdateRequest extends FormRequest
{
public function rules(): array
{
return [
'candidate_id' => ['required', 'exists:candidates,id'],
'department_id' => ['nullable', 'exists:departments,id'],
'interview_date' => ['required'],
'interviewer_name' => ['nullable', 'string', 'max:100'],
'feedback' => ['nullable', 'string', 'max:2000'],
'status' => ['nullable', 'in:pending,shortlisted,rejected,hired'],
'rating' => ['nullable'],
];
}
public function authorize(): bool
{
return true;
}
}