/* Options: Date: 2025-04-05 01:59:12 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: GetInactiveCompaniesReport.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/superadmin/company/inactive/report", "GET") public class GetInactiveCompaniesReport : IReturn, Codable { public typealias Return = InactiveCompaniesResponse public var skip:Int? public var take:Int? required public init(){} } public class InactiveCompaniesResponse : Codable { public var processedCompanies:[InactiveCompanyResult] = [] required public init(){} } public class InactiveCompanyResult : Codable { public var companyId:String public var lastActivityDate:Date public var lastActivityNotificationDate:Date public var deletionTime:Date public var action:InactivityAction required public init(){} } public enum InactivityAction : String, Codable { case ActivityReminder case FinalWarning case Delete }