123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- //
- // MeetingModels.swift
- // o2app
- //
- // Created by 刘振兴 on 2018/1/17.
- // Copyright © 2018年 zone. All rights reserved.
- //
- import Foundation
- import HandyJSON
- class OOMeetingConfigProcess: NSObject, DataModel {
- @objc var name: String?
- @objc var id: String?
- @objc var application: String?
- @objc var applicationName: String?
- @objc var alias: String?
-
- required override init() {
-
- }
- }
- class OOMeetingConfigInfo: NSObject, DataModel {
- var process: OOMeetingConfigProcess?
- var mobileCreateEnable: Bool?
- var weekBegin: Int?
-
- required override init() {
-
- }
- }
- class OOMeetingProcessIdentity: NSObject, DataModel {
- @objc var name: String?
- @objc var unique: String?
- @objc var summary:String?
- @objc var distinguishedName: String?
- @objc var person: String?
- @objc var unit: String?
- @objc var unitName: String?
- var unitLevel: Int?
- @objc var unitLevelName: String?
-
- required override init() {
-
- }
-
- }
- class OOMeetingBuildInfo: NSObject,DataModel {
-
- @objc var address : String?
- @objc var createTime : String?
- @objc var id : String?
- @objc var name : String?
- @objc var pinyin : String?
- @objc var pinyinInitial : String?
- @objc var roomList : [OOMeetingRoomInfo]?
- @objc var updateTime : String?
-
- required override init() {
-
- }
- }
- class OOMeetingRoomInfo: NSObject,DataModel {
- var available : Bool?
- var idle : Bool?
- @objc var building : String?
- var capacity : Int?
- @objc var createTime : String?
- @objc var device : String?
- var floor : Int?
- @objc var id : String?
- @objc var meetingList : [OOMeetingInfo]?
- @objc var name : String?
- @objc var phoneNumber : String?
- @objc var pinyin : String?
- @objc var pinyinInitial : String?
- @objc var roomNumber : String?
- @objc var updateTime : String?
-
- required override init() {
-
- }
- }
- class OOMeetingInfo :NSObject,DataModel{
-
- @objc var acceptPersonList : [String]?
- @objc var applicant : String? //申请人
- @objc var attachmentList : [OOMeetingAttachmentList]?
- @objc var completedTime : String?
- @objc var confirmStatus : String?
- @objc var createTime : String?
- @objc var descriptionField : String?
- @objc var summary: String?
- @objc var id : String?
- @objc var invitePersonList : [String]?
- var manualCompleted : Bool?
- var myAccept : Bool?
- var myApply : Bool?
- var myReject : Bool?
- var myWaitAccept : Bool?
- var myWaitConfirm : Bool?
- @objc var pinyin : String?
- @objc var pinyinInitial : String?
- @objc var rejectPersonList : [String]?
- @objc var room : String?
- @objc var startTime : String?
- @objc var status : String? //状态 wait 就可以修改
- @objc var subject : String?
- @objc var updateTime : String?
- //会议室对象
- @objc var woRoom: OOMeetingRoomInfo?
-
- required override init() {
-
- }
- }
- class OOMeetingAttachmentList : NSObject,DataModel{
-
- @objc var createTime : String?
- @objc var `extension` : String?
- @objc var id : String?
- @objc var lastUpdatePerson : String?
- @objc var lastUpdateTime : String?
- var length : Int?
- @objc var meeting : String?
- @objc var name : String?
- @objc var storage : String?
- var summary : Bool?
- @objc var updateTime : String?
-
- required override init() {
-
- }
- }
- class MeetingForm:NSObject,HandyJSON{
- @objc var subject:String?
- @objc var room:String?
- @objc var roomName:String?
- var meetingDate:Date = Date()
- var startTime:Date = Date()
- var completedTime:Date = Date()
- @objc var invitePersonList:[String] = []
- @objc var summary:String?
- override required init() {
-
- }
- }
|