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.

33 lines
662 B

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