You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
531 B

//
// PriceModel.swift
// GME Remit
//
// Created by InKwon James Kim on 2019/10/21.
// Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
import ObjectMapper
struct PriceModel: Mappable {
var price: String?
init?(map: Map) {
}
mutating func mapping(map: Map) {
price <- map["Price"]
}
}
extension PriceModel: TablePresenterProtocol {
var cellTitle: String? {
return price?.decimalToCurrency(as: .krw, isFront: true)
}
var cellImage: UIImage? {
return nil
}
}