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.
34 lines
713 B
34 lines
713 B
//
|
|
// Branch.swift
|
|
// GME Remit
|
|
//
|
|
// Created by Amrit Giri on 6/29/20.
|
|
// Copyright © 2020 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import ObjectMapper
|
|
|
|
struct Branch: Mappable {
|
|
var agentID: String?
|
|
var agentName: String?
|
|
var agentPhone1: String?
|
|
var agentAddress: String?
|
|
var agentZip: String?
|
|
var agentState: String?
|
|
var agentCity: String?
|
|
init?(map: Map) {
|
|
|
|
}
|
|
|
|
mutating func mapping(map: Map) {
|
|
agentID <- map["agentId"]
|
|
agentName <- map["agentName"]
|
|
agentPhone1 <- map["agentPhone1"]
|
|
agentAddress <- map["agentAddress"]
|
|
agentZip <- map["agentZip"]
|
|
agentState <- map["agentState"]
|
|
agentCity <- map["agentCity"]
|
|
}
|
|
}
|
|
|