getAllPaginate

abstract suspend fun getAllPaginate(userId: UUID, offset: Long, size: Int): List<Plan>

Retrieves all plans for a given user with pagination.

Return

A list of plans for the specified user.

Parameters

userId

The ID of the user whose plans are to be retrieved.

offset

The offset for pagination.

size

The number of plans to retrieve.