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.
28 lines
613 B
28 lines
613 B
//
|
|
// SendMoneyCountryStructure.swift
|
|
// GMERemittance
|
|
//
|
|
// Created by gme_2 on 26/08/2018.
|
|
// Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class SendMoneyCountryViewModel {
|
|
var id: String?
|
|
var name: String?
|
|
var title: String?
|
|
var code: String?
|
|
var proviencesRequired: String?
|
|
var proviences: [SendMoneyProvienceViewModel]?
|
|
}
|
|
|
|
extension SendMoneyCountryViewModel: TablePresenterProtocol {
|
|
var cellTitle: String? {
|
|
return name
|
|
}
|
|
|
|
var cellImage: UIImage? {
|
|
return CountryEnum(rawValue: code?.lowercased() ?? "")?.flag
|
|
}
|
|
}
|