GroupObject.h
1.07 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
//
// GroupObject.h
// LifeLog
//
// Created by nvtu on 8/11/17.
// Copyright © 2017 PhongNV. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface GroupObject : NSObject
@property (nonatomic) int groupID;
@property (nonatomic) int numSearch;
@property (nonatomic) int walkGoal;
@property (nonatomic) int runGoal;
@property (nonatomic) int bikeGoal;
@property (nonatomic) int stepGoal;
@property (nonatomic) int gymGoal;
@property (nonatomic) int beginGoal;
@property (nonatomic) BOOL isJoin;
@property (nonatomic) BOOL walkMode;
@property (nonatomic) BOOL runMode;
@property (nonatomic) BOOL bikeMode;
@property (nonatomic) BOOL stepMode;
@property (nonatomic) BOOL gymMode;
@property (nonatomic) BOOL beginMode;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, strong) NSString * avatar;
@property (nonatomic, strong) NSString * goal;
@property (nonatomic, strong) NSDate * createDate;
-(id) initWithData : (NSDictionary *) dict;
-(id) initWithData : (NSDictionary *) dict andGroupID : (int) groupID;
-(void) updateDate : (GroupObject *) obj;
@end