/* Options: Date: 2025-04-03 06:49:01 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://northwind.netcore.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryOrders.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/query/orders") open class QueryOrders : QueryDb(), IReturn> { open var freight:BigDecimal? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryOrders.responseType } @DataContract open class QueryResponse { @DataMember(Order=1) open var offset:Int? = null @DataMember(Order=2) open var total:Int? = null @DataMember(Order=3) open var results:ArrayList? = null @DataMember(Order=4) open var meta:HashMap? = null @DataMember(Order=5) open var responseStatus:ResponseStatus? = null } open class QueryDb : QueryBase() { } @DataContract open class Order { @DataMember open var id:Int? = null @DataMember open var customerId:String? = null @DataMember open var employeeId:Int? = null @DataMember open var orderDate:Date? = null @DataMember open var requiredDate:Date? = null @DataMember open var shippedDate:Date? = null @DataMember open var shipVia:Int? = null @DataMember open var freight:BigDecimal? = null @DataMember open var shipName:String? = null @DataMember open var shipAddress:String? = null @DataMember open var shipCity:String? = null @DataMember open var shipRegion:String? = null @DataMember open var shipPostalCode:String? = null @DataMember open var shipCountry:String? = null } @DataContract open class QueryBase { @DataMember(Order=1) open var skip:Int? = null @DataMember(Order=2) open var take:Int? = null @DataMember(Order=3) open var orderBy:String? = null @DataMember(Order=4) open var orderByDesc:String? = null @DataMember(Order=5) open var include:String? = null @DataMember(Order=6) open var fields:String? = null @DataMember(Order=7) open var meta:HashMap? = null }