view Simoleon/Models/SupportedCurrencyModel.swift @ 185:2fc95efcb1ee

connect backend
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Wed, 22 Dec 2021 16:12:23 +0100
parents d2398f02e1ce
children
line wrap: on
line source

//
//  SupportedCurrencyModel.swift
//  Simoleon
//
//  Created by Dennis Concepción Martín on 8/12/21.
//

import Foundation

struct SupportedCurrencyResponse: Codable {
    var currencies: [SupportedCurrencyResult]
}

struct SupportedCurrencyResult: Codable, Hashable {
    var code: String
    var name: String
    var isCrypto: Int
}