/* Options: Date: 2025-12-06 06:41:48 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: PlaceAddTakeAwayRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/place/add_take_away", "POST") public class PlaceAddTakeAwayRequest : IReturn, IPost, IHasPlaceId, Codable { public typealias Return = PlaceAddTakeAwayResponse public var placeId:Int? public var takeAwaySlug:String? required public init(){} } public class PlaceAddTakeAwayResponse : Codable { public var takeAways:[TakeAwayDto] = [] required public init(){} } public protocol IHasPlaceId { var placeId:Int? { get set } } public class TakeAwayDto : Codable { public var id:Int? public var label:String? public var slug:String? public var position:Int? required public init(){} }