// // FireNoticeModel.m // Haishenghai-master // // Created by 刘云鸽 on 2019/3/26. // Copyright © 2019 Haishenghai intelligence network technology. All rights reserved. // #import "FireNoticeModel.h" @implementation FireNoticeModel +(FireNoticeModel *)parserWithDic:(NSDictionary *)dic{ FireNoticeModel *model = [[FireNoticeModel alloc]init]; model.gmtCreate = [dic objectForKey:@"gmtCreate"]; model.troubleType = [dic objectForKey:@"troubleType"]; model.deployment = [dic objectForKey:@"deployment"]; model.location = [dic objectForKey:@"location"]; model.regionName = [dic objectForKey:@"regionName"]; model.deviceId = [dic objectForKey:@"deviceId"]; model.deviceLocation = [dic objectForKey:@"deviceLocation"]; model.deviceName = [dic objectForKey:@"deviceName"]; model.ID = [dic objectForKey:@"id"]; model.ifRead = [dic objectForKey:@"ifRead"]; return model; } @end