summaryrefslogtreecommitdiff
path: root/Juick/Model/Chat.h
blob: 4b7ec3076915518aae515cbf9353985d38427250 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
//  Chat.h
//  Juick
//
//  Created by Vitaly Takmazov on 04/03/2018.
//  Copyright © 2018 com.juick. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "User.h"

@interface Chat : NSObject

@property NSNumber *uid;
@property NSString *uname;
@property NSString *avatar;
@property NSNumber *unreadCount;
@property NSDate *lastMessageTimestamp;
@property NSString *lastMessageText;

+ (Chat *) fromJSON:(NSDictionary *)jsonData;

@end