//
//  Page.swift
//  ListController
//
//  Created by Nikolai Timonin on 31.05.2021.
//

import Foundation

// MARK: - Page

public struct Page<T> {
    
    // MARK: - Public properties
    
    public let items: [T]
    public let hasMore: Bool

    // MARK: - Public methods

    public init(items: [T], hasMore: Bool) {
        self.items = items
        self.hasMore = hasMore
    }
}
