$this->id, 'fullname' => $this->fullname, 'email' => $this->email, 'phone' => $this->phone, 'company' => $this->company, 'status' => match ((int) $this->status) { 1 => 'active', 2 => 'inactive', 3 => 'suspended', default => 'pending', }, 'total' => (int) $this->total, 'created_at' => $this->created_at, ]; } }