BusinessFunction.h 1.72 KB
//
//  BusinessFunction.h
//
//  Created by 杰 张 on 16/7/29
//  Copyright (c) 2016 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>




/**
 业务菜单类型
 
 - functionTypeAnouncement: 公告
 - functionTypeMessage: 消息
 - functionTypeTodo: 待办
 - functionTypeStatement: 对账单
 - functionTypeSaleInput: 销售录入
 - functionTypeRepair: 工程报修
 - functionTypeInspect: 设备巡检
 - functionTypeReading: 仪表读数
 - functionTypeSuggest: 投诉建议
 - functionTypeInspectRepair: 设备报修
 - functionTypeOperateInspect: 运营巡检
 - functionTypeTenant: 商户沟通
 - functionTypeContactExamine: 合同审批
 - functionTypeAmmeter: 电表充值
 - functionTypeYueXin: 月星家居
 */
typedef NS_ENUM(NSInteger, functionType) {
    functionTypeAnouncement = 0,
    functionTypeMessage = 1,
    functionTypeTodo = 2,
    functionTypeStatement = 3,
    functionTypeSaleInput = 4,
    functionTypeRepair = 5,
    functionTypeInspect = 6,
    functionTypeReading = 7,
    functionTypeSuggest = 8,
    functionTypeInspectRepair = 9,
    functionTypeOperateInspect = 10,
    functionTypeTenant = 11,
    functionTypeContactExamine = 12,
    functionTypeIndoorMap = 13,
    functionTypeAmmeter = 14,
    functionTypeYueXin = 15,
    functionTypeTennantManagement= 16,
    functionTypeBrandManagement = 17
};

@interface BusinessFunction : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) NSString *functionPic;
@property (nonatomic, strong) NSString *functionName;
@property (nonatomic, assign) functionType type;


+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- (instancetype)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionaryRepresentation;

@end