24 lines
408 B
Swift
24 lines
408 B
Swift
//
|
|
// MatchHistory.swift
|
|
// App
|
|
//
|
|
// Created by Michael Simard on 12/15/20.
|
|
//
|
|
|
|
import Foundation
|
|
import Fluent
|
|
import Vapor
|
|
|
|
final class MatchHistory: Content {
|
|
var total:Int
|
|
var matches:[Match]
|
|
var hasMorePages:Bool
|
|
|
|
init( total:Int, matches:[Match],hasMorePages:Bool) {
|
|
self.total = total;
|
|
self.matches = matches
|
|
self.hasMorePages = hasMorePages
|
|
}
|
|
|
|
}
|