You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
user_center/app/Http/Resources/EmployeeBank.php

29 lines
746 B

<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class EmployeeBank extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
return [
'id' => $this->id,
'employee_id' => $this->employee_id,
'super_bank_name' => $this->super_bank_name,
'bank_name' => $this->bank_name,
'bank_code' => $this->bank_code,
'bank_num' => $this->bank_num,
'bank_man' => $this->bank_man,
'maximum' => $this->maximum,
'priority' => $this->priority,
];
}
}