// // DocumentModel.h // TheoryNetwork // // Created by tederen on 2019/9/25. // Copyright © 2019 tederen. All rights reserved. // #import "BaseModel.h" NS_ASSUME_NONNULL_BEGIN @interface DocumentModel : BaseModel /* id */ @property (nonatomic, strong) NSNumber *documentId; /* 标题 */ @property (nonatomic, copy) NSString *title; /* 时间 */ @property (nonatomic, copy) NSString *lastEditDate; /* 作者 */ @property (nonatomic, copy) NSString *author; /* 概要 */ @property (nonatomic, copy) NSString *summary; /* 内容 */ @property (nonatomic, copy) NSString *content; /* 图片 */ @property (nonatomic, copy) NSString *imageUrl; /* 来源 */ @property (nonatomic, copy) NSString *source; /* 查看 */ @property (nonatomic, strong) NSNumber *hits; /* 首页单元格样式 */ @property (nonatomic, assign) NSInteger mainCellType; /* 是否置顶 */ @property (nonatomic, assign) BOOL isTop; @property (nonatomic, copy) UIImage *firstImg; @property (nonatomic, copy) UIImage *secondImg; @property (nonatomic, copy) UIImage *thirdImg; /* 推荐人 */ @property (nonatomic, copy) NSString *referfre; @property (nonatomic, strong) NSArray *contentArr; /// contentType 文章详情内容,1-> 文字 ;2->图片;3->其它 @property (nonatomic, assign) NSUInteger contentType; @end NS_ASSUME_NONNULL_END