/* Options: Date: 2025-04-04 16:53:09 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FindProduct.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route("/api/Query/Product") @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="Product") open class FindProduct : QueryDb(), IReturn> { companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = FindProduct.responseType } @DataContract open class QueryResponse { @DataMember(Order=1) var Offset:Int? = null @DataMember(Order=2) var Total:Int? = null @DataMember(Order=3) var Results:ArrayList = ArrayList() @DataMember(Order=4) var Meta:HashMap = HashMap() @DataMember(Order=5) var ResponseStatus:ResponseStatus? = null } open class QueryDb : QueryBase() { } open class ProductInstance { var ProductId:Int? = null var Group:String? = null var Name:String? = null var Description:String? = null var Price:BigDecimal? = null var VAT:BigDecimal? = null var TotalPrice:BigDecimal? = null var ProductType:Int? = null var Deleted:Boolean? = null var Demo:Boolean? = null var UsageCount:Int? = null var StockLevel:Int? = null var ReorderFlag:Int? = null var VisibleOnline:Boolean? = null } @DataContract open class QueryBase { @DataMember(Order=1) var Skip:Int? = null @DataMember(Order=2) var Take:Int? = null @DataMember(Order=3) var OrderBy:String? = null @DataMember(Order=4) var OrderByDesc:String? = null @DataMember(Order=5) var Include:String? = null @DataMember(Order=6) var Fields:String? = null @DataMember(Order=7) var Meta:HashMap = HashMap() }