You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
PadelClub/PadelClub/Data/Tournament.swift

20 lines
377 B

//
// Tournament.swift
// PadelClub
//
// Created by Laurent Morvillier on 02/02/2024.
//
import Foundation
import LeStorage
class Tournament: Storable {
static func resourceName() -> String { "tournaments" }
var id: String = Store.randomId()
var name: String
var club_id: String
var club: Club? { return self.findById(self.club_id) }
}