Admin Workflow Initial Commit

This commit is contained in:
Dillon Ngo
2024-12-02 23:06:44 +08:00
parent 0824a45b41
commit c1bd61dfc7
54 changed files with 3662 additions and 16 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class UserSourceResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
return [
'system' => $this->system,
'email' => $this->email,
'marking' => $this->marking,
];
}
}