Item.h 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //
  2. // Item.h
  3. //
  4. // Created by tederen on 16/11/19
  5. // Copyright © 2019 tederen. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "ArticleBlocks.h"
  9. @protocol Item @end
  10. @interface Item : JSONModel
  11. @property (nonatomic ,assign) NSInteger SourceType;///来源类型 0 文章 1 待办
  12. @property (nonatomic ,copy) NSString * State; ///"Meeting" "Wait" "Checked" "Denied" "Checking"
  13. @property (nonatomic ,copy) NSString * Type; ///ApproverCheck审核,CarbonCopy抄送
  14. @property (nonatomic ,assign) BOOL IsDone;///是否阅读
  15. @property (nonatomic ,assign) BOOL IsOperate;///是否可操作
  16. @property (nonatomic ,assign) BOOL IsRemind;///是否催办
  17. @property (nonatomic ,assign) NSInteger DoneType;///处理状态 1 上会 2 待定
  18. @property (nonatomic ,copy) NSString * Message;///审批/抄送意见
  19. @property (nonatomic ,strong) NSArray *FileIds;///附件列表
  20. @property (nonatomic ,strong) NSArray *Summaries;
  21. @property (nonatomic ,assign) NSInteger Sort;
  22. @property (nonatomic ,assign) NSInteger CollectCount;
  23. @property (nonatomic ,strong) NSString *AddDate;
  24. @property (nonatomic ,strong) NSArray <NSString*> *ImageUrls;
  25. @property (nonatomic ,assign) NSInteger GroupId;
  26. @property (nonatomic ,assign) NSInteger Id;
  27. @property (nonatomic ,assign) BOOL IsTop;
  28. @property (nonatomic ,assign) NSInteger RetransmissionCount;
  29. @property (nonatomic ,assign) BOOL IsChecked;
  30. @property (nonatomic ,copy) NSString *Title;
  31. @property (nonatomic ,assign) NSInteger ReadCount;
  32. @property (nonatomic ,copy) NSString *Author;
  33. @property (nonatomic ,assign) NSInteger CommentCount;
  34. @property (nonatomic ,assign) NSInteger PraiseCount;
  35. @property (nonatomic ,copy) NSString *Source;
  36. @property (nonatomic ,copy) NSString *Summary;
  37. @property (nonatomic ,assign) NSInteger cellID; // 重写了get方法
  38. @property (nonatomic ,strong) NSArray<ArticleBlocks> * ArticleBlocks;
  39. ///是否已收藏
  40. @property (nonatomic, assign) BOOL IsCollection;
  41. @property (nonatomic, assign) BOOL IsCollect;
  42. @property (nonatomic, assign) BOOL IsPraise;
  43. ///是否一点赞
  44. @property (nonatomic, assign) BOOL IsLaud;
  45. @property (nonatomic, assign) BOOL IsRead;
  46. @property (nonatomic ,copy) NSString *AvatarUrl;
  47. @property (nonatomic ,copy) NSString *CreatedDate;
  48. @property (nonatomic ,copy) NSString *approvalText;
  49. @property (nonatomic ,assign) NSInteger approvalStatus;
  50. @property (nonatomic ,assign) NSInteger FlowId;
  51. @property (nonatomic ,assign) NSInteger TodoId;
  52. @property (nonatomic ,assign) NSInteger ProcessId;
  53. @property (nonatomic ,assign) NSInteger UserId;
  54. @property (nonatomic ,assign) NSInteger ProcessNodeId;
  55. @property (nonatomic ,assign) NSInteger No;
  56. @property (nonatomic ,copy) NSString *ApproverCheckUserIdCollection;
  57. @property (nonatomic ,copy) NSString *CarbonCopyUserIdCollection;
  58. @property (nonatomic ,strong) NSArray * ApproverCheckUserIds;
  59. @property (nonatomic ,strong) NSArray * CarbonCopyUserIds;
  60. ///是否转发
  61. @property (nonatomic, assign) NSInteger IsRetransmission;
  62. -(instancetype)initWithDictionary:(NSDictionary*)aDictionary;
  63. @end