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.

32 lines
609 B

5 years ago
5 years ago
5 years ago
  1. //
  2. // BranchContainer.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon Devik Kim on 03/05/2019.
  6. // Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import Foundation
  9. import ObjectMapper
  10. struct BranchContainer: Mappable {
  11. var errorCode: String?
  12. var message: String?
  13. var id: String?
  14. var extra: String?
  15. var extra2: String?
  16. var data: [Branch]?
  17. init?(map: Map) {
  18. }
  19. mutating func mapping(map: Map) {
  20. errorCode <- map["ErrorCode"]
  21. message <- map["Msg"]
  22. id <- map["Id"]
  23. extra <- map["Extra"]
  24. extra2 <- map["Extra2"]
  25. data <- map["Data"]
  26. }
  27. }