/* Options: Date: 2024-11-21 11:33:21 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: EaccountingNoteQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/eaccounting/notes", "GET") public class EaccountingNoteQuery : IReturn, ICompany, Codable { public typealias Return = NoteQueryResponse public var companyId:String? required public init(){} } public class NoteQueryResponse : Codable { public var id:String public var text:String public var createdUtc:Date public var modifiedUtc:Date required public init(){} } public protocol ICompany { var companyId:String? { get set } }