O2InformationModels.swift 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. //
  2. // O2InformationModels.swift
  3. // o2app
  4. //
  5. // Created by 刘振兴 on 2017/12/27.
  6. // Copyright © 2017年 zone. All rights reserved.
  7. //
  8. import Foundation
  9. import HandyJSON
  10. class O2CMSAppInfo:NSObject,DataModel {
  11. var appAlias : String?
  12. var appIcon : String?
  13. var appInfoSeq : String?
  14. var appName : String?
  15. var categoryList : [String]?
  16. var creatorIdentity : String?
  17. var creatorPerson : String?
  18. var creatorTopUnitName : String?
  19. var creatorUnitName : String?
  20. var descriptionField : String?
  21. var id : String?
  22. var updateTime : String?
  23. var wrapOutCategoryList : [O2CMSCategoryInfo]?
  24. required override init() {
  25. }
  26. }
  27. class O2CMSCategoryInfo:NSObject,DataModel {
  28. var appId : String?
  29. var appName : String?
  30. var categoryAlias : String?
  31. var categoryName : String?
  32. var categorySeq : String?
  33. var createTime : String?
  34. var creatorIdentity : String?
  35. var creatorPerson : String?
  36. var formId : String?
  37. var formName : String?
  38. var id : String?
  39. var readFormId : String?
  40. var readFormName : String?
  41. var updateTime : String?
  42. var workflowType : String?
  43. required override init() {
  44. }
  45. }
  46. class O2CMSPublishInfo:NSObject,DataModel {
  47. var appId : String?
  48. var appName : String?
  49. var attachmentList : [String]?
  50. var categoryAlias : String?
  51. var categoryId : String?
  52. var categoryName : String?
  53. var createTime : String?
  54. var creatorCompany : String?
  55. var creatorDepartment : String?
  56. var creatorIdentity : String?
  57. var creatorPerson : String?
  58. var distributeFactor : Int?
  59. var docStatus : String?
  60. var form : String?
  61. var formName : String?
  62. var id : String?
  63. var publishTime : String?
  64. var readFormId : String?
  65. var readFormName : String?
  66. var sequence : String?
  67. var title : String?
  68. var updateTime : String?
  69. var viewCount : Int?
  70. required override init() {
  71. }
  72. }
  73. class O2CMSSubjectInfo:NSObject,DataModel {
  74. var categoryAlias : String?
  75. var categoryName : String?
  76. var createTime : String?
  77. var creatorIdentity : String?
  78. var creatorPerson : String?
  79. var creatorPersonShort : String?
  80. var creatorTopUnitName : String?
  81. var creatorTopUnitNameShort : String?
  82. var creatorUnitName : String?
  83. var creatorUnitNameShort : String?
  84. var docStatus : String?
  85. var hasIndexPic : Bool?
  86. var id : String?
  87. var pictureList : [String]?
  88. var publishTime : String?
  89. var summary : String?
  90. var title : String?
  91. var updateTime : String?
  92. var viewCount : Int?
  93. required override init() {
  94. }
  95. }
  96. class O2CMSAttachmentInfo:NSObject,DataModel {
  97. var appId : String?
  98. var categoryId : String?
  99. var createTime : String?
  100. var creatorUid : String?
  101. var distributeFactor : Int?
  102. var documentId : String?
  103. var `extension` : String?
  104. var fileHost : String?
  105. var fileName : String?
  106. var filePath : String?
  107. var fileType : String?
  108. var id : String?
  109. var lastUpdateTime : String?
  110. var length : Int?
  111. var name : String?
  112. var sequence : String?
  113. var site : String?
  114. var storage : String?
  115. var updateTime : String?
  116. required override init() {
  117. }
  118. }