/* Options: Date: 2026-07-08 20:30:03 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: CertifiedPayrollSubmitRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/projects/{ProjectID}/certified-payroll/{Week}/submit", "POST,OPTIONS") public class CertifiedPayrollSubmitRequest : IReturn, Codable { public typealias Return = CertifiedPayrollResponse public var projectID:Int? public var week:String? required public init(){} } public class CertifiedPayrollResponse : Codable { public var responseStatus:ResponseStatus? public var payroll:CertifiedPayroll? required public init(){} } public class CertifiedPayrollLine : Codable { public var certifiedPayrollLineID:Int? public var certifiedPayrollID:Int? public var workerName:String? public var contactID:Int? public var classification:String? public var hoursST:Double? public var hoursOT:Double? public var baseRate:Double? public var fringeRate:Double? public var fringeCashRate:Double? public var fringePlanRate:Double? public var grossPay:Double? public var flagged:Bool? public var restitutionAmount:Double? public var restitutionNote:String? public var requiredBase:Double? public var requiredFringe:Double? public var sortOrder:Int? required public init(){} } public class CertifiedPayroll : Codable { public var certifiedPayrollID:Int? public var certifiedPayrollUID:String? public var projectID:Int? public var payrollNumber:Int? public var weekEnding:Date? public var status:String? public var dbeParticipationPct:Double? public var dbeGoalPct:Double? public var ojtApprenticeHours:Double? public var ojtApprenticeGoalHours:Double? public var workerCount:Int? public var totalHoursST:Double? public var totalHoursOT:Double? public var totalGrossPay:Double? public var flaggedCount:Int? public var submittedBy:String? public var submittedAt:Date? public var createdBy:String? public var createdAt:Date? public var updatedAt:Date? public var lines:[CertifiedPayrollLine] = [] public var determinationNo:String? public var determinationType:String? required public init(){} }