<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:05:30
 namespace App\Http\Resources\Admin; use Illuminate\Http\Resources\Json\JsonResource; class EmployeeDetailResource extends JsonResource { public function toArray($request) { return ["\x69\144" => $this->id, "\145\155\160\x6c\x6f\171\x65\145\137\x63\157\x64\145" => $this->employee_code, "\154\x61\x73\x74\137\156\x61\x6d\145" => $this->last_name, "\146\x69\x72\x73\164\137\156\141\155\145" => $this->first_name, "\154\x61\163\164\137\156\x61\x6d\145\x5f\x6b\141\x6e\141" => $this->last_name_kana, "\x66\x69\x72\x73\x74\137\156\x61\x6d\x65\x5f\153\141\x6e\141" => $this->first_name_kana, "\x66\x75\x6c\x6c\x5f\x6e\x61\155\x65" => $this->full_name, "\x66\165\154\154\x5f\x6e\141\155\145\137\x6b\141\x6e\x61" => $this->full_name_kana, "\160\162\145\x66\x65\x72\162\x65\144\x5f\156\x61\155\x65" => $this->preferred_name, "\144\x61\x74\x65\x5f\157\146\x5f\x62\x69\162\x74\150" => $this->date_of_birth, "\147\x65\x6e\144\145\x72" => $this->gender, "\160\x6f\163\164\137\x63\x6f\x64\x65" => $this->post_code, "\160\162\145\146\x65\143\x74\165\x72\x65" => $this->prefecture, "\x63\151\x74\171" => $this->city, "\141\144\144\x72\x65\163\x73" => $this->address, "\142\165\x69\154\144\x69\x6e\x67" => $this->building, "\160\x68\x6f\156\145" => $this->phone, "\155\157\142\x69\154\x65\x5f\160\150\x6f\x6e\x65" => $this->mobile_phone, "\145\x6d\x65\162\x67\145\x6e\x63\171\x5f\160\150\x6f\x6e\x65" => $this->emergency_phone, "\x77\x6f\162\x6b\137\145\x6d\141\x69\x6c" => $this->work_email, "\160\x65\x72\x73\x6f\156\141\x6c\137\x65\155\x61\151\154" => $this->personal_email, "\x6a\x6f\x69\x6e\x5f\144\x61\164\x65" => $this->join_date, "\x64\x65\x70\141\x72\x74\155\145\156\164\137\x69\x64" => $this->department_id, "\x64\x65\160\141\162\164\155\145\x6e\x74" => new DepartmentResource($this->whenLoaded("\144\145\160\x61\x72\x74\x6d\x65\156\164")), "\x70\157\x73\151\x74\151\157\156\137\151\x64" => $this->position_id, "\x70\157\x73\x69\x74\x69\x6f\156" => new PositionResource($this->whenLoaded("\160\x6f\163\x69\x74\151\x6f\x6e")), "\145\x6d\x70\154\x6f\171\145\145\137\x74\x79\x70\145" => $this->employee_type, "\x65\155\x70\x6c\157\171\155\x65\x6e\x74\x5f\143\157\156\x74\162\141\x63\164\x5f\x74\x79\160\145" => $this->employment_contract_type, "\162\x65\x63\x72\x75\x69\164\x6d\145\156\164\137\x6d\x65\164\150\x6f\x64" => $this->recruitment_method, "\x63\x6f\x75\x72\163\x65" => $this->course, "\x6c\x65\166\x65\x6c\x5f\151\x64" => $this->level_id, "\x6c\145\x76\x65\154" => new LevelResource($this->whenLoaded("\x6c\145\x76\x65\x6c")), "\163\141\x6c\x61\162\171\137\147\162\141\x64\145" => $this->salary_grade, "\x77\157\162\153\151\x6e\x67\137\154\157\143\x61\164\151\157\x6e" => $this->working_location, "\x65\x6d\x70\154\x6f\x79\x6d\145\x6e\x74\137\163\164\x61\x74\x75\x73" => $this->employment_status, "\162\x65\x73\x69\147\x6e\145\x64\137\x64\141\164\145" => $this->resigned_date, "\162\145\x73\151\147\156\x65\x64\137\x72\145\141\x73\157\x6e" => $this->resigned_reason, "\160\157\x73\151\164\x69\x6f\156\x5f\x68\151\x73\164\157\162\x69\x65\x73" => $this->whenLoaded("\x70\157\163\x69\x74\151\157\156\110\x69\x73\164\x6f\x72\151\145\x73"), "\154\x65\x76\x65\154\137\150\151\x73\x74\x6f\162\x69\x65\163" => $this->whenLoaded("\154\145\x76\145\154\110\x69\163\x74\x6f\162\x69\x65\163"), "\154\145\141\x76\x65\x5f\150\x69\x73\x74\157\162\151\x65\163" => $this->whenLoaded("\x6c\x65\x61\166\x65\110\x69\163\164\157\x72\x69\x65\x73"), "\160\x6f\x69\x6e\164\137\x63\141\x6c\x63\165\154\141\164\x69\x6f\x6e\x73" => PointCalculationResource::collection($this->whenLoaded("\x70\x6f\x69\x6e\164\x43\141\154\x63\165\154\x61\x74\x69\x6f\x6e\x73")), "\162\x65\164\151\162\145\155\145\156\164\137\x66\x75\x6e\144" => new RetirementFundResource($this->whenLoaded("\162\145\x74\151\x72\x65\155\x65\156\164\x46\165\156\x64")), "\x74\x72\x61\156\x73\151\164\151\157\x6e\x5f\x70\x6f\x69\x6e\164" => new TransitionPointResource($this->whenLoaded("\x74\x72\141\156\163\151\164\151\x6f\x6e\120\x6f\151\156\164"))]; } }