This commit is contained in:
Trey t
2023-06-21 23:00:11 -05:00
parent c77ed03ca2
commit 4949636836
6 changed files with 76 additions and 4 deletions

View File

@@ -0,0 +1,26 @@
//
// CompletedWorkout.swift
// Werkout_ios
//
// Created by Trey Tartt on 6/21/23.
//
import Foundation
struct CompletedWorkout: Codable {
let id: Int
let createdAt, updatedAt: String
let difficulty, totalTime: Int
let workoutStartTime: String
let workout: Int
enum CodingKeys: String, CodingKey {
case id
case createdAt = "created_at"
case updatedAt = "updated_at"
case difficulty
case totalTime = "total_time"
case workoutStartTime = "workout_start_time"
case workout
}
}