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.

26 lines
458 B

  1. //
  2. // ResponseMessage.swift
  3. // GMERemittance
  4. //
  5. // Created by gme_2 on 11/09/2018.
  6. // Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import Foundation
  9. import ObjectMapper
  10. class ResponseMessage: Mappable {
  11. var errorCode: String?
  12. var message: String?
  13. var id: String?
  14. required init?(map: Map) {
  15. }
  16. func mapping(map: Map) {
  17. errorCode <- map["ErrorCode"]
  18. message <- map["Msg"]
  19. id <- map["Id"]
  20. }
  21. }