from typing import Generic, TypeVar, List
from pydantic import BaseModel

T = TypeVar("T")


class PagedOut(BaseModel, Generic[T]):
    items: List[T]
    total: int
    page: int
    limit: int
