Files
cod-backend/Sources/App/Content/MatchHistory.swift
2021-08-02 14:48:50 -05:00

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
}
}