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

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