prep for statistics table

This commit is contained in:
Michael Simard
2021-08-02 14:48:50 -05:00
parent 15fde0b5bb
commit c38b621bdd
9 changed files with 132 additions and 56 deletions

View File

@@ -0,0 +1,23 @@
//
// 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
}
}