/* Options: Date: 2026-05-09 21:06:14 SwiftVersion: 5.0 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://ws4.fibudata.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: OnlinehandelAbrechnungUebersichtRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/fibuscan/Onlinehandel/AbrechnungUebersicht", "GET, POST") public class OnlinehandelAbrechnungUebersichtRequest : IReturn, Codable { public typealias Return = OnlinehandelAbrechnungUebersichtResponse required public init(){} } public class OnlinehandelAbrechnungUebersichtResponse : Codable { public var liste:[onlinehandel_abrechnung] = [] required public init(){} } public class onlinehandel_abrechnung : onlinehandel_abrechnung_light { public var geparste_results_keys:[UInt8] = [] public var geparste_results_values:[UInt8] = [] required public init(){ super.init() } private enum CodingKeys : String, CodingKey { case geparste_results_keys case geparste_results_values } required public init(from decoder: Decoder) throws { try super.init(from: decoder) let container = try decoder.container(keyedBy: CodingKeys.self) geparste_results_keys = try container.decodeIfPresent([UInt8].self, forKey: .geparste_results_keys) ?? [] geparste_results_values = try container.decodeIfPresent([UInt8].self, forKey: .geparste_results_values) ?? [] } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) var container = encoder.container(keyedBy: CodingKeys.self) if geparste_results_keys.count > 0 { try container.encode(geparste_results_keys, forKey: .geparste_results_keys) } if geparste_results_values.count > 0 { try container.encode(geparste_results_values, forKey: .geparste_results_values) } } } public protocol IPrimaryKey { var primaryKey:Int? { get set } } public protocol IMandnr { var mandant:Int? { get set } } public protocol IDel { var del:Int? { get set } } public protocol ITableBase { var id:Int? { get set } var _erstellt:Date? { get set } var _aenderung:Date? { get set } } public class onlinehandel_abrechnung_light : IPrimaryKey, IMandnr, IDel, ITableBase, Codable { public var id:Int? public var mandant:Int? public var del:Int? public var bezeichnung:String public var guid:String public var parent_guid:String public var _erstellt:Date? public var _aenderung:Date? public var nutzer_id:Int? public var in_arbeit:Int? public var ausgewaehlte_treffertypen:String public var ausgewaehlte_zahlsysteme:String public var zip_dateiname:String public var exportdatum:Date? // @Ignore() public var primaryKey:Int? required public init(){} }