12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- //
- // Item.h
- //
- // Created by tederen on 16/11/19
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "ArticleBlocks.h"
- @protocol Item @end
- @interface Item : JSONModel
- @property (nonatomic ,assign) NSInteger SourceType;///来源类型 0 文章 1 待办
- @property (nonatomic ,copy) NSString * State; ///"Meeting" "Wait" "Checked" "Denied" "Checking"
- @property (nonatomic ,copy) NSString * Type; ///ApproverCheck审核,CarbonCopy抄送
- @property (nonatomic ,assign) BOOL IsDone;///是否阅读
- @property (nonatomic ,assign) BOOL IsOperate;///是否可操作
- @property (nonatomic ,assign) BOOL IsRemind;///是否催办
- @property (nonatomic ,assign) NSInteger DoneType;///处理状态 1 上会 2 待定
- @property (nonatomic ,copy) NSString * Message;///审批/抄送意见
- @property (nonatomic ,strong) NSArray *FileIds;///附件列表
- @property (nonatomic ,strong) NSArray *Summaries;
- @property (nonatomic ,assign) NSInteger Sort;
- @property (nonatomic ,assign) NSInteger CollectCount;
- @property (nonatomic ,strong) NSString *AddDate;
- @property (nonatomic ,strong) NSArray <NSString*> *ImageUrls;
- @property (nonatomic ,assign) NSInteger GroupId;
- @property (nonatomic ,assign) NSInteger Id;
- @property (nonatomic ,assign) BOOL IsTop;
- @property (nonatomic ,assign) NSInteger RetransmissionCount;
- @property (nonatomic ,assign) BOOL IsChecked;
- @property (nonatomic ,copy) NSString *Title;
- @property (nonatomic ,assign) NSInteger ReadCount;
- @property (nonatomic ,copy) NSString *Author;
- @property (nonatomic ,assign) NSInteger CommentCount;
- @property (nonatomic ,assign) NSInteger PraiseCount;
- @property (nonatomic ,copy) NSString *Source;
- @property (nonatomic ,copy) NSString *Summary;
- @property (nonatomic ,assign) NSInteger cellID; // 重写了get方法
- @property (nonatomic ,strong) NSArray<ArticleBlocks> * ArticleBlocks;
- ///是否已收藏
- @property (nonatomic, assign) BOOL IsCollection;
- @property (nonatomic, assign) BOOL IsCollect;
- @property (nonatomic, assign) BOOL IsPraise;
- ///是否一点赞
- @property (nonatomic, assign) BOOL IsLaud;
- @property (nonatomic, assign) BOOL IsRead;
- @property (nonatomic ,copy) NSString *AvatarUrl;
- @property (nonatomic ,copy) NSString *CreatedDate;
- @property (nonatomic ,copy) NSString *approvalText;
- @property (nonatomic ,assign) NSInteger approvalStatus;
- @property (nonatomic ,assign) NSInteger FlowId;
- @property (nonatomic ,assign) NSInteger TodoId;
- @property (nonatomic ,assign) NSInteger ProcessId;
- @property (nonatomic ,assign) NSInteger UserId;
- @property (nonatomic ,assign) NSInteger ProcessNodeId;
- @property (nonatomic ,assign) NSInteger No;
- @property (nonatomic ,copy) NSString *ApproverCheckUserIdCollection;
- @property (nonatomic ,copy) NSString *CarbonCopyUserIdCollection;
- @property (nonatomic ,strong) NSArray * ApproverCheckUserIds;
- @property (nonatomic ,strong) NSArray * CarbonCopyUserIds;
- ///是否转发
- @property (nonatomic, assign) NSInteger IsRetransmission;
- -(instancetype)initWithDictionary:(NSDictionary*)aDictionary;
- @end
|