-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathProjectFolder.h
executable file
·37 lines (31 loc) · 1.09 KB
/
ProjectFolder.h
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
//
// ProjectFolder.h
// Coding_iOS
//
// Created by Ease on 14/11/13.
// Copyright (c) 2014年 Coding. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Projects.h"
@interface ProjectFolder : NSObject
@property (readwrite, nonatomic, strong) NSDate *created_at, *updated_at;
@property (readwrite, nonatomic, strong) NSNumber *project_id, *file_id, *owner_id, *parent_id, *type, *count;
@property (readwrite, nonatomic, strong) NSString *name, *owner_name, *next_name;
@property (readwrite, nonatomic, strong) NSMutableArray *sub_folders;
@property (strong, nonatomic) NSDictionary *propertyArrayMap;
+ (ProjectFolder *)defaultFolder;
+ (ProjectFolder *)shareFolder;
+ (ProjectFolder *)outFolder;
+ (ProjectFolder *)folderWithId:(NSNumber *)file_id;
- (ProjectFolder *)hasFolderWithId:(NSNumber *)file_id;
- (BOOL)isDefaultFolder;
- (BOOL)isShareFolder;
- (BOOL)isOutFolder;
- (BOOL)canCreatSubfolder;
- (NSInteger)fileCountIncludeSub;
- (NSString *)toFilesPath;
- (NSDictionary *)toFilesParams;
- (NSString *)toRenamePath;
- (NSString *)toDeletePath;
- (NSString *)toMoveToPath;
@end