PlaceModel.m 763 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // PlaceModel.m
  3. // Haishenghai-master
  4. //
  5. // Created by GG on 2019/1/22.
  6. // Copyright © 2019年 Haishenghai intelligence network technology. All rights reserved.
  7. //
  8. #import "PlaceModel.h"
  9. @implementation PlaceModel
  10. +(PlaceModel *)parserWithDic:(NSDictionary *)dic
  11. {
  12. PlaceModel *info = [[PlaceModel alloc]init];
  13. info.deployment = [dic objectForKey:@"deployment"];
  14. info.location = [dic objectForKey:@"location"];
  15. info.Id = [dic objectForKey:@"id"];
  16. info.regionCode = [dic objectForKey:@"regionCode"];
  17. info.regionName = [dic objectForKey:@"regionName"];
  18. info.userid = [dic objectForKey:@"userId"];
  19. info.isTel = [dic objectForKey:@"isTel"];
  20. info.isMsg = [dic objectForKey:@"isMsg"];
  21. return info;
  22. }
  23. @end