DocumentModel.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //
  2. // DocumentModel.h
  3. // TheoryNetwork
  4. //
  5. // Created by tederen on 2019/9/25.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import "BaseModel.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface DocumentModel : BaseModel
  11. /*
  12. id
  13. */
  14. @property (nonatomic, strong) NSNumber *documentId;
  15. /*
  16. 标题
  17. */
  18. @property (nonatomic, copy) NSString *title;
  19. /*
  20. 时间
  21. */
  22. @property (nonatomic, copy) NSString *lastEditDate;
  23. /*
  24. 作者
  25. */
  26. @property (nonatomic, copy) NSString *author;
  27. /*
  28. 概要
  29. */
  30. @property (nonatomic, copy) NSString *summary;
  31. /*
  32. 内容
  33. */
  34. @property (nonatomic, copy) NSString *content;
  35. /*
  36. 图片
  37. */
  38. @property (nonatomic, copy) NSString *imageUrl;
  39. /*
  40. 来源
  41. */
  42. @property (nonatomic, copy) NSString *source;
  43. /*
  44. 查看
  45. */
  46. @property (nonatomic, strong) NSNumber *hits;
  47. /*
  48. 首页单元格样式
  49. */
  50. @property (nonatomic, assign) NSInteger mainCellType;
  51. /*
  52. 是否置顶
  53. */
  54. @property (nonatomic, assign) BOOL isTop;
  55. @property (nonatomic, copy) UIImage *firstImg;
  56. @property (nonatomic, copy) UIImage *secondImg;
  57. @property (nonatomic, copy) UIImage *thirdImg;
  58. /*
  59. 推荐人
  60. */
  61. @property (nonatomic, copy) NSString *referfre;
  62. @property (nonatomic, strong) NSArray *contentArr;
  63. /// contentType 文章详情内容,1-> 文字 ;2->图片;3->其它
  64. @property (nonatomic, assign) NSUInteger contentType;
  65. @end
  66. NS_ASSUME_NONNULL_END