OOMeetingModels.swift 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. //
  2. // MeetingModels.swift
  3. // o2app
  4. //
  5. // Created by 刘振兴 on 2018/1/17.
  6. // Copyright © 2018年 zone. All rights reserved.
  7. //
  8. import Foundation
  9. import HandyJSON
  10. class OOMeetingConfigProcess: NSObject, DataModel {
  11. @objc var name: String?
  12. @objc var id: String?
  13. @objc var application: String?
  14. @objc var applicationName: String?
  15. @objc var alias: String?
  16. required override init() {
  17. }
  18. }
  19. class OOMeetingConfigInfo: NSObject, DataModel {
  20. var process: OOMeetingConfigProcess?
  21. var mobileCreateEnable: Bool?
  22. var weekBegin: Int?
  23. required override init() {
  24. }
  25. }
  26. class OOMeetingProcessIdentity: NSObject, DataModel {
  27. @objc var name: String?
  28. @objc var unique: String?
  29. @objc var summary:String?
  30. @objc var distinguishedName: String?
  31. @objc var person: String?
  32. @objc var unit: String?
  33. @objc var unitName: String?
  34. var unitLevel: Int?
  35. @objc var unitLevelName: String?
  36. required override init() {
  37. }
  38. }
  39. class OOMeetingBuildInfo: NSObject,DataModel {
  40. @objc var address : String?
  41. @objc var createTime : String?
  42. @objc var id : String?
  43. @objc var name : String?
  44. @objc var pinyin : String?
  45. @objc var pinyinInitial : String?
  46. @objc var roomList : [OOMeetingRoomInfo]?
  47. @objc var updateTime : String?
  48. required override init() {
  49. }
  50. }
  51. class OOMeetingRoomInfo: NSObject,DataModel {
  52. var available : Bool?
  53. var idle : Bool?
  54. @objc var building : String?
  55. var capacity : Int?
  56. @objc var createTime : String?
  57. @objc var device : String?
  58. var floor : Int?
  59. @objc var id : String?
  60. @objc var meetingList : [OOMeetingInfo]?
  61. @objc var name : String?
  62. @objc var phoneNumber : String?
  63. @objc var pinyin : String?
  64. @objc var pinyinInitial : String?
  65. @objc var roomNumber : String?
  66. @objc var updateTime : String?
  67. required override init() {
  68. }
  69. }
  70. class OOMeetingInfo :NSObject,DataModel{
  71. @objc var acceptPersonList : [String]?
  72. @objc var applicant : String? //申请人
  73. @objc var attachmentList : [OOMeetingAttachmentList]?
  74. @objc var completedTime : String?
  75. @objc var confirmStatus : String?
  76. @objc var createTime : String?
  77. @objc var descriptionField : String?
  78. @objc var summary: String?
  79. @objc var id : String?
  80. @objc var invitePersonList : [String]?
  81. var manualCompleted : Bool?
  82. var myAccept : Bool?
  83. var myApply : Bool?
  84. var myReject : Bool?
  85. var myWaitAccept : Bool?
  86. var myWaitConfirm : Bool?
  87. @objc var pinyin : String?
  88. @objc var pinyinInitial : String?
  89. @objc var rejectPersonList : [String]?
  90. @objc var room : String?
  91. @objc var startTime : String?
  92. @objc var status : String? //状态 wait 就可以修改
  93. @objc var subject : String?
  94. @objc var updateTime : String?
  95. //会议室对象
  96. @objc var woRoom: OOMeetingRoomInfo?
  97. required override init() {
  98. }
  99. }
  100. class OOMeetingAttachmentList : NSObject,DataModel{
  101. @objc var createTime : String?
  102. @objc var `extension` : String?
  103. @objc var id : String?
  104. @objc var lastUpdatePerson : String?
  105. @objc var lastUpdateTime : String?
  106. var length : Int?
  107. @objc var meeting : String?
  108. @objc var name : String?
  109. @objc var storage : String?
  110. var summary : Bool?
  111. @objc var updateTime : String?
  112. required override init() {
  113. }
  114. }
  115. class MeetingForm:NSObject,HandyJSON{
  116. @objc var subject:String?
  117. @objc var room:String?
  118. @objc var roomName:String?
  119. var meetingDate:Date = Date()
  120. var startTime:Date = Date()
  121. var completedTime:Date = Date()
  122. @objc var invitePersonList:[String] = []
  123. @objc var summary:String?
  124. override required init() {
  125. }
  126. }