NIMCollectInfo.h 798 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. // NIMCollectInfo.h
  3. // NIMLib
  4. //
  5. // Created by 丁文超 on 2020/3/30.
  6. // Copyright © 2020 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface NIMCollectInfo : NSObject
  11. /**
  12. * 收藏项id
  13. */
  14. @property (nonatomic, assign) NSUInteger id;
  15. /**
  16. * 收藏类型
  17. */
  18. @property (nonatomic, assign) NSInteger type;
  19. /**
  20. * 数据,最大20KB
  21. */
  22. @property (nonatomic, copy) NSString *data;
  23. /**
  24. * 扩展字段,最大1KB
  25. */
  26. @property (nonatomic, copy) NSString *ext;
  27. /**
  28. * 去重唯一ID
  29. */
  30. @property (nonatomic, copy) NSString *uniqueId;
  31. /**
  32. * 创建时间(s)
  33. */
  34. @property (nonatomic, assign) NSTimeInterval createTime;
  35. /**
  36. * 更新时间(s)
  37. */
  38. @property (nonatomic, assign) NSTimeInterval updateTime;
  39. @end
  40. NS_ASSUME_NONNULL_END