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.

27 lines
501 B

4 years ago
  1. //
  2. // DetailNoticeModel.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 2020/02/13.
  6. // Copyright © 2020 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import ObjectMapper
  9. struct DetailNoticeModel: Mappable {
  10. var title: String?
  11. var body: String?
  12. var imageURL: String?
  13. var date: String?
  14. init?(map: Map) {
  15. }
  16. mutating func mapping(map: Map) {
  17. title <- map["title"]
  18. body <- map["body"]
  19. date <- map["createDate"]
  20. imageURL <- map["imageURL"]
  21. }
  22. }