/* Options: Date: 2025-12-06 07:05:14 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetAllCategoryRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/category/get_all", "GET") public class GetAllCategoryRequest : IReturn, IGet, Codable { public typealias Return = GetAllCategoryResponse required public init(){} } public class GetAllCategoryResponse : Codable { public var category:[CategoryDto] = [] required public init(){} } public class CategoryDto : Codable { public var id:Int? public var name:String? public var slug:String? public var absoluteSlug:String? public var parentId:Int? public var state:String? public var position:Int? required public init(){} }