Objective-C枚举
#import <Foundation/Foundation.h>
typedef enum{
custom = 0,//自定义
login,//登陆
wallet,//钱包
certificate,//证件
account,//帐号
workAndLife//生活工作
}GroupType;
@interface AccountType : NSObject
@property(nonatomic,assign)int ID;//主键
@property(nonatomic,retain)NSString *type;//类型名称
@property(nonatomic,assign)int stor;//排序
@property(nonatomic,assign)GroupType groupId;//分组类型
@property(nonatomic,assign)BOOL isTemplate;//是否为模版
-(NSMutableDictionary *)toDic:(AccountType *)model;
-(NSString *)toJSON:(AccountType *)model;
@end