O2Application.swift 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //
  2. // O2Data.swift
  3. // Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport
  4. import Foundation
  5. import ObjectMapper
  6. import HandyJSON
  7. class O2Application : NSObject, DataModel {
  8. @objc var alias : String?
  9. @objc var applicationCategory : String?
  10. @objc var controllerList : [String]?
  11. @objc var createTime : String?
  12. @objc var creatorPerson : String?
  13. @objc var descriptionField : String?
  14. @objc var icon : String?
  15. @objc var id : String?
  16. @objc var lastUpdatePerson : String?
  17. @objc var lastUpdateTime : String?
  18. @objc var name : String?
  19. @objc var updateTime : String?
  20. required override init(){}
  21. func mapping(map: Map)
  22. {
  23. alias <- map["alias"]
  24. applicationCategory <- map["applicationCategory"]
  25. controllerList <- map["controllerList"]
  26. createTime <- map["createTime"]
  27. creatorPerson <- map["creatorPerson"]
  28. descriptionField <- map["description"]
  29. icon <- map["icon"]
  30. id <- map["id"]
  31. lastUpdatePerson <- map["lastUpdatePerson"]
  32. lastUpdateTime <- map["lastUpdateTime"]
  33. name <- map["name"]
  34. updateTime <- map["updateTime"]
  35. }
  36. }
  37. class O2ApplicationIcon: NSObject, DataModel {
  38. @objc var icon: String?
  39. @objc var iconHue: String?
  40. required override init() {
  41. }
  42. func mapping(mapper: HelpingMapper) {
  43. }
  44. }
  45. /// 根据应用查询流程 applicationItemWithFilter filter对象
  46. class O2ProcessFilter: NSObject, DataModel {
  47. @objc var startableTerminal: String? //可启动流程终端类型,可选值 client,mobile,all
  48. required override init() {
  49. }
  50. func mapping(mapper: HelpingMapper) {
  51. }
  52. }