Application.swift 677 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // Application.swift
  3. // O2Platform
  4. //
  5. // Created by 刘振兴 on 16/7/28.
  6. // Copyright © 2016年 zoneland. All rights reserved.
  7. //
  8. import Foundation
  9. import ObjectMapper
  10. class Application:Mappable{
  11. var id:String?
  12. var name:String?
  13. var alias:String?
  14. var applicationCategory:String?
  15. var icon:String?
  16. var processList:[AppProcess]?
  17. required init?(map: Map) {
  18. }
  19. func mapping(map: Map) {
  20. id <- map["id"]
  21. name <- map["name"]
  22. alias <- map["alias"]
  23. applicationCategory <- map["applicationCategory"]
  24. icon <- map["icon"]
  25. processList <- map["processList"]
  26. }
  27. }