NewTopicModel.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // NewTopicModel.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2019/12/16.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @protocol NewTopicModel
  11. @end
  12. @interface NewTopicModel : BaseModel
  13. @property (nonatomic, copy) NSString * title;
  14. @property (nonatomic, copy) NSString * Text;
  15. @property (nonatomic, copy) NSString * content;
  16. @property (nonatomic, copy) NSString * imageUrl;
  17. @property (nonatomic, copy) NSString * File;
  18. @property (nonatomic, assign) CollectDataType type;
  19. ///类型1 txt文字 2 img:图片 3 file:文件 4 Article:文章 5 notice通知 6 topic话题 7 note笔记 8 collection收藏 9站内信 10小组 11会议 12 收藏文件夹 13 笔记文件夹 14 审批
  20. @property (nonatomic, copy) NSString * FileName;
  21. @property (nonatomic, copy) NSString * AuthorName;
  22. @property (nonatomic, assign) NSInteger FileId;
  23. @property (nonatomic, copy) NSString * fileSize;
  24. @property (nonatomic, assign) CGFloat height;
  25. @property (nonatomic, assign) NSInteger ID;
  26. @property (nonatomic, copy) NSString * ArticleImgUrl;
  27. @property (nonatomic, assign) NSInteger AttributeValue;
  28. - (instancetype)initWithDict:(NSDictionary *)dict;
  29. @end
  30. NS_ASSUME_NONNULL_END