//
//  MsgObj.m
//  testIOS
//
//  Created by Nikolai Penkov on 1/27/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "MsgObj.h"

@implementation MsgObj

@synthesize msgId;
@synthesize msgTxt;

- (id)initWithJSON:(NSDictionary*)dataDict{
    if (self = [super init]) {
        self.msgId = [dataDict objectForKey:@"id"];
        self.msgTxt = [dataDict objectForKey:@"msgText"];
    }
    
    return self;
}

- (void)dealloc{
    [msgId release];
    [msgTxt release];
    [super dealloc];
}

@end
