<?php

namespace App\Resources;

use Wibiesana\Padi\Core\Resource;

class SarprasPeminjamResource extends Resource
{
    public function toArray($request): array
    {
        return [
            'id' => $this->id,
            'tipe_peminjam' => $this->tipe_peminjam,
            'id_identitas' => $this->id_identitas,
            'nama_lengkap' => $this->nama_lengkap,
            'kelas' => $this->kelas,
            'jurusan' => $this->jurusan,
            'nomor_telepon' => $this->nomor_telepon,
            'email' => $this->email,

            // Relations

            // Flattened Fields

        ];
    }
}