package models

type FastifyError struct {
	StatusCode int    `json:"statusCode"`
	Error      string `json:"error"`
	Message    string `json:"message"`
}

type ResponseErrorHTTP struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
}

type PaginationResponse[T any] struct {
	TotalPages int64 `json:"totalPages"`
	Records    []T   `json:"records"`
}

type Pagination struct {
	Page  int64
	Limit int64
}

const (
	DefaultPageNumber int64 = 1
	DefaultLimit      int64 = 100
)
