O2SearchEntry.swift 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. // File.swift
  3. // O2Platform
  4. //
  5. // Created by FancyLou on 2021/5/25.
  6. // Copyright © 2021 zoneland. All rights reserved.
  7. //
  8. import Foundation
  9. class O2SearchIdsEntry: NSObject, DataModel {
  10. @objc var count: Int = 0
  11. @objc var valueList: [String] = []
  12. required override init(){}
  13. }
  14. class O2SearchEntry: NSObject, DataModel {
  15. @objc var id: String?
  16. @objc var type: String? // cms work
  17. @objc var title: String?
  18. @objc var summary: String?
  19. @objc var creatorPerson: String?
  20. @objc var creatorUnit: String?
  21. @objc var reference: String? //关联id
  22. @objc var createTime: String? //
  23. @objc var updateTime: String? //
  24. @objc var appId: String?// cms栏目ID
  25. @objc var appName: String?// cms栏目名称
  26. @objc var categoryId: String?// cms分类ID
  27. @objc var categoryName: String?// cms分类名称
  28. @objc var application: String?// processPlatform应用id
  29. @objc var applicationName: String?// processPlatform应用名称
  30. @objc var process: String?// processPlatform流程id
  31. @objc var processName: String?// processPlatform流程名称
  32. required override init(){}
  33. }
  34. /// 查询的 分页对象
  35. struct O2SearchPageModel {
  36. var list:[O2SearchEntry] = [] // 结果列表
  37. var page: Int = 1 // 当前页数
  38. var totalPage: Int = 1 // 总页数
  39. }