123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- //
- // NoticeModel.h
- // smartRhino
- //
- // Created by 潘洪波 on 2019/11/21.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import "BaseModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @protocol NoticeZanPersonModel <NSObject>
- @end
- @interface NoticeZanPersonModel : BaseModel
- /// 用户ID
- @property (nonatomic,assign) NSInteger UserId;
- /// 姓名
- @property (nonatomic,strong) NSString * UserName;
- /// 点赞时间
- @property (nonatomic,strong) NSString * CreatedDate;
- /// 通知名称
- @property (nonatomic,strong) NSString * NoteTitle;
- /// 头像
- @property (nonatomic,strong) NSString * AvatarUrl;
- /// 部门名称
- @property (nonatomic,strong) NSString * DepartmentName;
- @end
- @protocol NoticeZanModel <NSObject>
- @end
- @interface NoticeZanModel : BaseModel
- @property (nonatomic , assign) NSInteger Total;
- @property (nonatomic , strong) NSMutableArray <NoticeZanPersonModel>* Items;
- @end
- #pragma mark - 站内信新建
- @protocol NoticeDataModel
- @end
- @interface NoticeDataModel : BaseModel
- ///地址
- @property (nonatomic,assign) NSInteger Id;
- /// 作者 文章来源
- @property (nonatomic,copy) NSString * Author;
- @property (nonatomic,copy) NSString * Content;
- @property (nonatomic,assign) CollectDataType Type;
- @property (nonatomic,copy) NSString * TextType;
- @property (nonatomic,copy) NSString * File;
- @property (nonatomic,copy) NSString * FileName;
- @property (nonatomic,copy) NSString * Text;
- @property (nonatomic,copy) NSString * Title;
- @property (nonatomic,copy) NSString * CreatedData;
- @property (nonatomic,copy) NSString * PlaceText;
- @property (nonatomic, assign) NSInteger FileId;
- @property (nonatomic, copy) NSString * FileSize;
- @property (nonatomic, copy) NSString * ImageUrl;
- @property (nonatomic, assign) CGFloat Height;
- @end
- @protocol NoticeModel
- @end
- @interface NoticeModel : BaseModel
- /// 通知自增ID
- @property (nonatomic , assign) NSInteger Id;
- /// 通知标题
- @property (nonatomic , copy) NSString * Title;
- /// 用户姓名
- @property (nonatomic , copy) NSString * UserName;
- @property (nonatomic , copy) NSString * Content;
- /// 通知详情收件人
- @property (nonatomic , strong) NSMutableArray * NoticeAddresseeNames;
- /// 头像地址
- @property (nonatomic , copy) NSString * AvatarUrl;
- /// 创建时间
- @property (nonatomic , copy) NSString * CreatedDate;
- /// 收件数量
- @property (nonatomic , assign) NSInteger AllCount;
- /// 评论数量
- @property (nonatomic , assign) NSInteger CommentCount;
- /// 收藏数量
- @property (nonatomic , assign) NSInteger CollectCount;
- /// 转发数量
- @property (nonatomic , assign) NSInteger RetransmissionCount;
- @property (nonatomic , assign) BOOL IsCollection;
- @property (nonatomic , assign) BOOL IsLaud;
- @property (nonatomic , assign) BOOL IsRetransmission;
- /// 点赞数量
- @property (nonatomic , assign) NSInteger PraiseCount;
- /// 阅读量
- @property (nonatomic , assign) NSInteger ReadCount;
- @property (nonatomic , strong) NoticeZanModel * NoticePraisePagedList;
- @property (nonatomic,strong)NSMutableArray *Data;
- /// 是否删除
- @property (nonatomic , assign) BOOL IsDelete;
- /// 是否置顶
- @property (nonatomic , assign) BOOL IsTop;
- /// 是否阅读
- @property (nonatomic , assign) BOOL IsRead;
- /// 手贱人ID
- @property (nonatomic , assign) NSInteger NoticeAddresseeId;
- /// 通知ID
- @property (nonatomic , assign) NSInteger NoticeId;
- /// 小组ID
- @property (nonatomic , assign) NSInteger GroupId;
- /// 文件夹名称
- @property (nonatomic , copy) NSString * FolderName;
- @property (nonatomic,assign) NSInteger FileCount;
- ///文件夹类型 1 通知 2话题 3 收藏 4笔记 5 普通站内信 6匿名站内信
- @property (nonatomic , assign) NSInteger FolderType;
- ///文件夹权限 1 普通 2 私有 3 共享
- @property (nonatomic , assign) NSInteger RoleId;
- /// 排序
- @property (nonatomic , assign) NSInteger Sort;
- /// 中间件ID 根据FolderType
- @property (nonatomic , assign) NSInteger MiddleId;
- ///父级ID
- @property (nonatomic , assign) NSInteger ParentId;
- /// 子集ID
- @property (nonatomic , assign) NSInteger MiddleSonId;
- @property (nonatomic , assign) NSInteger UReadCount;
- /// 1 发送 2 草稿
- @property (nonatomic , assign) NSInteger NoticeAddresseeType;
- /// 是否管理员 是否是他创建的通知
- @property (nonatomic , assign) BOOL IsAdmin;
- /// 1 通知 2 文件夹 3 加群验证
- @property (nonatomic , assign) NSInteger AttributeValue;
- /// 是否选中
- @property (nonatomic , assign) BOOL IsSelect;
- /// 小组成员ID
- @property (nonatomic , assign) NSInteger UserId;
- /// 小组名称
- @property (nonatomic , copy) NSString * GroupName;
- ///总话题数量
- @property (nonatomic , assign) NSInteger TopicAllCount;
- ///共享数量
- @property (nonatomic , assign) NSInteger TopicSharingCount;
- ///未阅读数量
- @property (nonatomic , assign) NSInteger UReadTopicCount;
- @property (nonatomic , assign) NSInteger GroupUserRoleId;
- ///目录名称
- @property (nonatomic , copy) NSString * CategoryName;
- @property (nonatomic , copy) NSString * EnjoyUser;
- @property (nonatomic , assign) NSInteger SourceId;
- @end
- NS_ASSUME_NONNULL_END
|