AppProcess.swift 845 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // AppProcess.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. import HandyJSON
  11. class AppProcess: NSObject, DataModel {
  12. @objc var id:String?
  13. @objc var name:String?
  14. @objc var alias:String?
  15. @objc var desc:String?
  16. @objc var creatorPerson:String?
  17. @objc var application:String?
  18. @objc var icon:String?
  19. @objc var defaultStartMode: String?
  20. required override init(){}
  21. func mapping(map: Map) {
  22. id <- map["id"]
  23. name <- map["name"]
  24. alias <- map["alias"]
  25. desc <- map["description"]
  26. creatorPerson <- map["creatorPerson"]
  27. application <- map["application"]
  28. icon <- map["icon"]
  29. defaultStartMode <- map["defaultStartMode"]
  30. }
  31. }