23 lines
No EOL
467 B
PHP
23 lines
No EOL
467 B
PHP
<?php
|
|
|
|
namespace App\Http\Resources\API;
|
|
|
|
use Illuminate\Http\Resources\Json\JsonResource;
|
|
|
|
class AppAccess extends JsonResource
|
|
{
|
|
/**
|
|
* Transform the resource into an array.
|
|
*
|
|
* @param \Illuminate\Http\Request $request
|
|
* @return array
|
|
*/
|
|
public function toArray($request)
|
|
{
|
|
return [
|
|
'app_id' => $this->app_id,
|
|
'user_id' => $this->user_id,
|
|
'status' => $this->status
|
|
];
|
|
}
|
|
} |