TextEntity.m 532 B

123456789101112131415161718192021222324252627
  1. //
  2. // TextEntity.m
  3. // JActivityList
  4. //
  5. // Created by juanmao on 15/12/7.
  6. // Copyright © 2015年 juanmao. All rights reserved.
  7. //
  8. #import "TextEntity.h"
  9. @implementation TextEntity
  10. - (instancetype)initWithDict:(NSDictionary *)dict
  11. {
  12. self = [super init];
  13. if (self)
  14. {
  15. self.textId = [[dict objectForKey:@"textId"]intValue];
  16. self.textName = [dict objectForKey:@"textName"];
  17. self.textContent = [dict objectForKey:@"textContent"];
  18. self.isShowMoreText = NO;
  19. }
  20. return self;
  21. }
  22. @end