package viewmodel

// ReturnPagination holds the pagination data result
type ReturnPagination struct {
	TotalRecords   int64 `json:"total_records"`
	RecordsPerPage int64 `json:"records_per_page"`
	TotalPages     int64 `json:"total_pages"`
	CurrentPage    int64 `json:"current_page"`
}

// PaginatedResult is the standard paginated list result
type PaginatedResult struct {
	Pagination ReturnPagination `json:"pagination,omitempty"`
	List       interface{}      `json:"data,omitempty"`
}
