CommentModel.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //
  2. // CommentModel.h
  3. // TheoryNetwork
  4. //
  5. // Created by tederen on 2019/9/29.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import "BaseModel.h"
  9. #import "CommentSubModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface CommentModel : BaseModel
  12. /*
  13. id
  14. */
  15. @property (nonatomic, strong) NSNumber *commentId;
  16. /*
  17. 头像地址
  18. */
  19. @property (nonatomic, copy) NSString *portraitUrl;
  20. /*
  21. 楼主
  22. */
  23. //@property (nonatomic, copy) NSString *name;
  24. /*
  25. 楼层
  26. */
  27. @property (nonatomic, strong) NSNumber *floor;
  28. /*
  29. 发布时间
  30. */
  31. @property (nonatomic, strong) NSString *time;
  32. /*
  33. 发表内容
  34. */
  35. //@property (nonatomic, copy) NSString *content;
  36. /*
  37. 回复人
  38. */
  39. @property (nonatomic, copy) NSString *replyName;
  40. /*
  41. 回复个数
  42. */
  43. @property (nonatomic, strong) NSNumber *replyTimes;
  44. @property (nonatomic, strong) NSArray<CommentSubModel *>*repayArr;
  45. @property (nonatomic ,strong) NSString *FloorCount;
  46. @property (nonatomic ,assign) NSInteger UserId;
  47. @property (nonatomic ,assign) NSInteger IsLaud;
  48. @property (nonatomic ,strong) NSArray <CommentSubModel>*CommentReplyResults;
  49. @property (nonatomic ,assign) NSInteger Id;
  50. @property (nonatomic ,strong) NSString *Name;
  51. @property (nonatomic ,strong) NSString *Content;
  52. @property (nonatomic ,assign) NSInteger LaudCount;
  53. @property (nonatomic ,strong) NSString *AvatarUrl;
  54. @property (nonatomic ,strong) NSString *CreatedTime;
  55. @property (nonatomic ,assign) NSInteger ArticleId;
  56. - (CGFloat)getCellHeight;
  57. @end
  58. NS_ASSUME_NONNULL_END