/* Options: Date: 2025-04-04 16:27:16 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: FindProduct.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/api/Query/Product") // @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="Product") public class FindProduct : 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 ProductInstance : Codable { public var productId:Int? public var group:String? public var name:String? public var Description:String? public var price:Double? public var vat:Double? public var totalPrice:Double? public var productType:Int? public var deleted:Bool? public var demo:Bool? public var usageCount:Int? public var stockLevel:Int? public var reorderFlag:Int? public var visibleOnline:Bool? required public init(){} }