//
//  newsModel.m
//  Open
//
//  Created by gao on 2017/1/23.
//  Copyright © 2017年 黄江涛 . All rights reserved.
//

#import "newsModel.h"
@class newsResultModel,newSDataModel;
@implementation newsModel
//+ (NSDictionary *)objectClassInArray{
//    return @{@"result" : [newsResultModel class]};
//}
@end
@implementation newsResultModel
MJCodingImplementation
+(NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{@"TRdata" :@"data"};
    
}

+ (NSDictionary *)objectClassInArray{
    return @{@"TRdata" : [newSDataModel class]};
}
@end
@implementation newSDataModel
MJCodingImplementation
+(NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{@"TRdate" :@"date",@"URL":@"url"};
    
}


@end
