using Core.Abstractions;
using Core.Abstractions.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.Models {
  public abstract class PaginationModelBase<T> : ResponseModelBase {
    public int TotalPages { get; set; }
    public int CurrentPage { get; set; }
    public List<T> Items { get; set; }

    public PaginationModelBase(int currentPage, int totalPages, List<T> items) {
      CurrentPage = currentPage;
      TotalPages = totalPages;
      Items = items;
    }
  }
}
