1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//
// 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