forked from coding/Coding-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject.h
More file actions
41 lines (29 loc) · 1.28 KB
/
Project.h
File metadata and controls
41 lines (29 loc) · 1.28 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
41
//
// Project.h
// Coding_iOS
//
// Created by Ease on 15/4/23.
// Copyright (c) 2015年 Coding. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Project : NSObject
@property (readwrite, nonatomic, strong) NSString *icon, *name, *owner_user_name, *backend_project_path, *full_name, *description_mine, *path, *parent_depot_path, *current_user_role,*project_path;
@property (readwrite, nonatomic, strong) NSNumber *id, *owner_id, *is_public, *un_read_activities_count, *done, *processing, *star_count, *stared, *watch_count, *watched, *fork_count, *forked, *recommended, *pin, *current_user_role_id, *type, *gitReadmeEnabled;
@property (assign, nonatomic) BOOL isStaring, isWatching, isLoadingMember, isLoadingDetail;
@property (strong, nonatomic) User *owner;
@property (strong, nonatomic) NSDate *created_at,*updated_at;
+ (Project *)project_All;
+ (Project *)project_FeedBack;
- (NSString *)toProjectPath;
- (NSDictionary *)toCreateParams;
- (NSString *)toUpdatePath;
- (NSDictionary *)toUpdateParams;
- (NSString *)toUpdateIconPath;
- (NSString *)toDeletePath;
- (NSString *)toMembersPath;
- (NSDictionary *)toMembersParams;
- (NSString *)toUpdateVisitPath;
- (NSString *)toDetailPath;
- (NSString *)localMembersPath;
- (NSString *)toBranchOrTagPath:(NSString *)path;
@end