// // DebugInfoDto.swift // AutoCatCore // // Created by Selim Mustafaev on 12.06.2024. // Copyright © 2024 Selim Mustafaev. All rights reserved. // import Foundation public enum DebugInfoStatus: Int, Sendable, Decodable, Equatable, Hashable { case success = 0 case error = 1 case warning = 2 } public struct DebugInfoDto: Decodable, Sendable, Equatable, Hashable { public var autocod: DebugInfoEntryDto? public var vin01vin: DebugInfoEntryDto? public var vin01base: DebugInfoEntryDto? public var vin01history: DebugInfoEntryDto? public var nomerogram: DebugInfoEntryDto? } public struct DebugInfoEntryDto: Decodable, Sendable, Equatable, Hashable { public var fields: Int64 = 0 public var error: String? public var status: DebugInfoStatus = .success }