forked from coding/Coding-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProjectTopics.h
More file actions
executable file
·40 lines (32 loc) · 1.14 KB
/
ProjectTopics.h
File metadata and controls
executable file
·40 lines (32 loc) · 1.14 KB
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
//
// ProjectTopics.h
// Coding_iOS
//
// Created by 王 原闯 on 14-8-20.
// Copyright (c) 2014年 Coding. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ProjectTopic.h"
typedef NS_ENUM(NSInteger, TopicQueryType){
TopicQueryTypeAll = 0,
TopicQueryTypeMe
};
typedef NS_ENUM(NSInteger, LabelOrderType){
LabelOrderTypeUpdate = 51,
LabelOrderTypeCreate = 49,
LabelOrderTypeHot = 53,
};
@class Project;
@interface ProjectTopics : NSObject
@property (readwrite, nonatomic, strong) NSNumber *page, *pageSize, *totalPage, *totalRow, *labelID;
@property (readwrite, nonatomic, strong) NSMutableArray *list;
@property (readwrite, nonatomic, strong) NSDictionary *propertyArrayMap;
@property (assign, nonatomic) TopicQueryType queryType;
@property (assign, nonatomic) LabelOrderType labelType;
@property (readwrite, nonatomic, strong) Project *project;
@property (assign, nonatomic) BOOL canLoadMore, willLoadMore, isLoading;
+ (ProjectTopics *)topicsWithPro:(Project *)project queryType:(TopicQueryType)type;
- (NSDictionary *)toParams;
- (NSString *)toRequestPath;
- (void)configWithTopics:(ProjectTopics *)resultA;
@end