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
583 B

  1. //
  2. // AgentModel.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 16/08/2019.
  6. // Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import ObjectMapper
  9. struct AgentModel: Mappable, RecipientCommonType {
  10. var id: String?
  11. var name: String?
  12. var localizedName: String?
  13. var branch: BranchModel?
  14. var accountNumber: String?
  15. init?(map: Map) {}
  16. mutating func mapping(map: Map) {
  17. id <- map["id"]
  18. name <- map["name"]
  19. localizedName <- map["localizedName"]
  20. branch <- map["branch"]
  21. accountNumber <- map["accountNo"]
  22. }
  23. }