FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Coding-iOS/Coding_iOS/Models/ProjectMember.m at master · fighterLS/Coding-iOS · GitHub
fighterLS
/
Coding-iOS
Public
forked from
coding/Coding-iOS
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Coding-iOS
/
Coding_iOS
/
Models
/
ProjectMember.m
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
24 lines (22 loc) · 635 Bytes
Breadcrumbs
Coding-iOS
/
Coding_iOS
/
Models
/
ProjectMember.m
Copy path
File metadata and controls
executable file
·
24 lines (22 loc) · 635 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
//
ProjectMember.m
//
Coding_iOS
//
//
Created by 王 原闯 on 14-8-16.
//
Copyright (c) 2014年 Coding. All rights reserved.
//
#
import
"
ProjectMember.h
"
@implementation
ProjectMember
+ (ProjectMember *)
member_All
{
ProjectMember *mem = [[ProjectMember
alloc
]
init
];
mem.
user_id
= [
NSNumber
numberWithInteger:
-
1
];
mem.
user
=
nil
;
return
mem;
}
- (
NSString
*)
toQuitPath
{
return
[
NSString
stringWithFormat:
@"
api/project/
%d
/quit
"
, _project_id.intValue];
}
- (
NSString
*)
toKickoutPath
{
return
[
NSString
stringWithFormat:
@"
api/project/
%@
/kickout/
%@
"
, _project_id.stringValue, _user_id.stringValue];
}
@end
Back
|
FazBrowse Home
|
New Git URL