/* Options: Date: 2025-12-06 06:18:39 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: ProjectProfitLossRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/Project/ProfitLoss/{ProjectID}/{ProfitLossStartDate}/{ProfitLossEndDate}", "GET,OPTIONS") public class ProjectProfitLossRequest : IReturn, Codable { public typealias Return = ProjectProfitLossResponse public var projectID:Int? public var profitLossStartDate:Date? public var profitLossEndDate:Date? required public init(){} } public class ProjectProfitLossResponse : Codable { public var responseStatus:ResponseStatus? public var projectProfitLoss:ProjectCost? required public init(){} } public class ProjectCost : Codable { public var projectID:Int? public var budget:Double? public var crewCost:Double? public var equipmentCost:Double? public var materialCost:Double? public var totalCost:Double? public var billedCrewCost:Double? public var billedEquipmentCost:Double? public var billedMaterialCost:Double? public var billedTotalCost:Double? required public init(){} }