NoticeModel.h 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. //
  2. // NoticeModel.h
  3. // smartRhino
  4. //
  5. // Created by 潘洪波 on 2019/11/21.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import "BaseModel.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @protocol NoticeZanPersonModel <NSObject>
  11. @end
  12. @interface NoticeZanPersonModel : BaseModel
  13. /// 用户ID
  14. @property (nonatomic,assign) NSInteger UserId;
  15. /// 姓名
  16. @property (nonatomic,strong) NSString * UserName;
  17. /// 点赞时间
  18. @property (nonatomic,strong) NSString * CreatedDate;
  19. /// 通知名称
  20. @property (nonatomic,strong) NSString * NoteTitle;
  21. /// 头像
  22. @property (nonatomic,strong) NSString * AvatarUrl;
  23. /// 部门名称
  24. @property (nonatomic,strong) NSString * DepartmentName;
  25. @end
  26. @protocol NoticeZanModel <NSObject>
  27. @end
  28. @interface NoticeZanModel : BaseModel
  29. @property (nonatomic , assign) NSInteger Total;
  30. @property (nonatomic , strong) NSMutableArray <NoticeZanPersonModel>* Items;
  31. @end
  32. #pragma mark - 站内信新建
  33. @protocol NoticeDataModel
  34. @end
  35. @interface NoticeDataModel : BaseModel
  36. ///地址
  37. @property (nonatomic,assign) NSInteger Id;
  38. /// 作者 文章来源
  39. @property (nonatomic,copy) NSString * Author;
  40. @property (nonatomic,copy) NSString * Content;
  41. @property (nonatomic,assign) CollectDataType Type;
  42. @property (nonatomic,copy) NSString * TextType;
  43. @property (nonatomic,copy) NSString * File;
  44. @property (nonatomic,copy) NSString * FileName;
  45. @property (nonatomic,copy) NSString * Text;
  46. @property (nonatomic,copy) NSString * Title;
  47. @property (nonatomic,copy) NSString * CreatedData;
  48. @property (nonatomic,copy) NSString * PlaceText;
  49. @property (nonatomic, assign) NSInteger FileId;
  50. @property (nonatomic, copy) NSString * FileSize;
  51. @property (nonatomic, copy) NSString * ImageUrl;
  52. @property (nonatomic, assign) CGFloat Height;
  53. @end
  54. @protocol NoticeModel
  55. @end
  56. @interface NoticeModel : BaseModel
  57. /// 通知自增ID
  58. @property (nonatomic , assign) NSInteger Id;
  59. /// 通知标题
  60. @property (nonatomic , copy) NSString * Title;
  61. /// 用户姓名
  62. @property (nonatomic , copy) NSString * UserName;
  63. @property (nonatomic , copy) NSString * Content;
  64. /// 通知详情收件人
  65. @property (nonatomic , strong) NSMutableArray * NoticeAddresseeNames;
  66. /// 头像地址
  67. @property (nonatomic , copy) NSString * AvatarUrl;
  68. /// 创建时间
  69. @property (nonatomic , copy) NSString * CreatedDate;
  70. /// 收件数量
  71. @property (nonatomic , assign) NSInteger AllCount;
  72. /// 评论数量
  73. @property (nonatomic , assign) NSInteger CommentCount;
  74. /// 收藏数量
  75. @property (nonatomic , assign) NSInteger CollectCount;
  76. /// 转发数量
  77. @property (nonatomic , assign) NSInteger RetransmissionCount;
  78. @property (nonatomic , assign) BOOL IsCollection;
  79. @property (nonatomic , assign) BOOL IsLaud;
  80. @property (nonatomic , assign) BOOL IsRetransmission;
  81. /// 点赞数量
  82. @property (nonatomic , assign) NSInteger PraiseCount;
  83. /// 阅读量
  84. @property (nonatomic , assign) NSInteger ReadCount;
  85. @property (nonatomic , strong) NoticeZanModel * NoticePraisePagedList;
  86. @property (nonatomic,strong)NSMutableArray *Data;
  87. /// 是否删除
  88. @property (nonatomic , assign) BOOL IsDelete;
  89. /// 是否置顶
  90. @property (nonatomic , assign) BOOL IsTop;
  91. /// 是否阅读
  92. @property (nonatomic , assign) BOOL IsRead;
  93. /// 手贱人ID
  94. @property (nonatomic , assign) NSInteger NoticeAddresseeId;
  95. /// 通知ID
  96. @property (nonatomic , assign) NSInteger NoticeId;
  97. /// 小组ID
  98. @property (nonatomic , assign) NSInteger GroupId;
  99. /// 文件夹名称
  100. @property (nonatomic , copy) NSString * FolderName;
  101. @property (nonatomic,assign) NSInteger FileCount;
  102. ///文件夹类型 1 通知 2话题 3 收藏 4笔记 5 普通站内信 6匿名站内信
  103. @property (nonatomic , assign) NSInteger FolderType;
  104. ///文件夹权限 1 普通 2 私有 3 共享
  105. @property (nonatomic , assign) NSInteger RoleId;
  106. /// 排序
  107. @property (nonatomic , assign) NSInteger Sort;
  108. /// 中间件ID 根据FolderType
  109. @property (nonatomic , assign) NSInteger MiddleId;
  110. ///父级ID
  111. @property (nonatomic , assign) NSInteger ParentId;
  112. /// 子集ID
  113. @property (nonatomic , assign) NSInteger MiddleSonId;
  114. @property (nonatomic , assign) NSInteger UReadCount;
  115. /// 1 发送 2 草稿
  116. @property (nonatomic , assign) NSInteger NoticeAddresseeType;
  117. /// 是否管理员 是否是他创建的通知
  118. @property (nonatomic , assign) BOOL IsAdmin;
  119. /// 1 通知 2 文件夹 3 加群验证
  120. @property (nonatomic , assign) NSInteger AttributeValue;
  121. /// 是否选中
  122. @property (nonatomic , assign) BOOL IsSelect;
  123. /// 小组成员ID
  124. @property (nonatomic , assign) NSInteger UserId;
  125. /// 小组名称
  126. @property (nonatomic , copy) NSString * GroupName;
  127. ///总话题数量
  128. @property (nonatomic , assign) NSInteger TopicAllCount;
  129. ///共享数量
  130. @property (nonatomic , assign) NSInteger TopicSharingCount;
  131. ///未阅读数量
  132. @property (nonatomic , assign) NSInteger UReadTopicCount;
  133. @property (nonatomic , assign) NSInteger GroupUserRoleId;
  134. ///目录名称
  135. @property (nonatomic , copy) NSString * CategoryName;
  136. @property (nonatomic , copy) NSString * EnjoyUser;
  137. @property (nonatomic , assign) NSInteger SourceId;
  138. @end
  139. NS_ASSUME_NONNULL_END