//
//  ApplicationHttpListModel.swift
//  MobilePortal
//
//  Created by xiejiangbo on 2019/10/28.
//  Copyright © 2019 yin chen. All rights reserved.
//

import UIKit

@objcMembers class ApplicationHttpListModel: NSObject {
    ///appid
    var applicationid:String?
    ///创建人
    var createby:String?
    ///操作人
    var updateby:String?
    ///
    var status:String?
    /// 应用截图
    var iconurl:String?
    ///是否提供部门id 1是 0否
    var partstate:String?
    /// 系统分类ERP BPM
    var belong:String?
    ///sysid 系统分类对应的id
    var sysid:String?
    
    /// web页面地址
    var hurl:String?
    /// iOS下载地址
    var iosurl:String?
    /// 应用名字
    var name:String?
    /// wen版本号
    var hversion:String?
    var createon:String?
    var updateon:String?
    ///是否提供公司信息 1是 0否
    var companystate:String?
    /// 安卓下载地址
    var androidurl:String?
    /// 服务范围
    var scope:String?
    /// 服务范围
    var scopes:String?
    /// 安卓版本号
    var androidversion:String?
    /// 是否开启单点登录 0否 1是
    var pointstate:String?
    /// 平台 1安卓iOS 2H5
//    var platforms:String?
    var applicationPlatformsType:ApplicationPlatformsType = .AndroidiOSType
    var platforms: String? {
        didSet {
            if platforms == "1" {
                applicationPlatformsType = .AndroidiOSType
            }else{
                applicationPlatformsType = .WebType
            }
        }
    }
    /// 是否提供用户id 1是 0否
    var empuidstate:String?
    /// 是否提供用户密码 1是 0否
    var passstate:String?
    /// iOS版本号
    var iosversion:String?
    /// 应用介绍
    var introduce:String?
    /// 安卓更新版本内容
    var androidcontent:String?
    ///
    var iosbundieid:String?
    ///
    var iosopenurl:String?
    ///
    var ioscontent:String?
    ///
    var androidname:String?
    /// 1原生标题 2
    var htitle:String?
    /// H5更新内容
    var hcontent:String?
    
    var imageUrl:String?
    
    var value1:String?
    var value2:String?
    var value3:String?
    var value4:String?
    var value5:String?
    var value6:String?
    
    
    var docname:String?
//    var status:String?
    var title:String?
//    var createby:String?
//    var updateby:String?
    var tags:String?
    var image:String?
    var listimage:String?
    var sort:String?
    var kgimage:String?
    var homeshow:String?
//    var createon:String?
//    var updateon:String?
    var type:String?
    var id:String?
    var createbyname:String?
    var foldertype:String?
    var updatebyname:String?
    var comments:String?
    var pid:String?
    var author:String?
//    var imageUrl:String?
    var publishtime:String?
    var openurl:String?
    var appid:String?
    var hightype:String?
    /// 是否 打开
    var todotype:String?
    /// 待办中心 代办数目 使用
    var todokey:String?
    
}
@objcMembers class ApplicationHttpScopListModel: NSObject {
    var application = NSMutableArray ()
    var scope:String?
    /// 服务范围所代表的数值
    var scopes:String?
    
}

