public function transform($route)
    {
        $route = $this->entityToArray(Route::class, $route);
        return [
            'id'        => (int) $route['id'],
            'createdAt' => $route['created_at'],
            'updatedAt' => $route['updated_at']
        ];
    }