/* Options: Date: 2025-02-05 13:52:43 SwiftVersion: 5.0 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: FindSchedule.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/api/Query/Schedule") // @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="Schedule") public class FindSchedule : QueryDb, IReturn { public typealias Return = QueryResponse required public init(){ super.init() } required public init(from decoder: Decoder) throws { try super.init(from: decoder) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) } } public class ScheduleInstance : Codable { public var scheduleId:Int? public var name:String? public var Description:String? @TimeSpan public var mondayFrom:TimeInterval? @TimeSpan public var mondayTo:TimeInterval? @TimeSpan public var tuesdayFrom:TimeInterval? @TimeSpan public var tuesdayTo:TimeInterval? @TimeSpan public var wednesdayFrom:TimeInterval? @TimeSpan public var wednesdayTo:TimeInterval? @TimeSpan public var thursdayFrom:TimeInterval? @TimeSpan public var thursdayTo:TimeInterval? @TimeSpan public var fridayFrom:TimeInterval? @TimeSpan public var fridayTo:TimeInterval? @TimeSpan public var saturdayFrom:TimeInterval? @TimeSpan public var saturdayTo:TimeInterval? @TimeSpan public var sundayFrom:TimeInterval? @TimeSpan public var sundayTo:TimeInterval? public var scheduleType:Int? public var deleted:Bool? public var demo:Bool? required public init(){} }