Mercurial > public > simoleon
view Simoleon/Models/CurrencyQuoteModel.swift @ 0:e0c2bda6c51f
first commit
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 11 Jul 2021 15:13:29 +0100 |
parents | |
children | a62e5e4a4f02 |
line wrap: on
line source
// // CurrencyQuoteModel.swift // Simoleon // // Created by Dennis Concepción Martín on 11/07/2021. // import SwiftUI struct CurrencyQuoteModel: Codable { var symbol: String var price: Float var bid: Float var ask: Float var timeStamp: Int private enum CodingKeys: String, CodingKey { case symbol = "s" case price = "p" case bid = "b" case ask = "a" case timeStamp = "t" } }