MGGroupUserInfo.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. //
  2. // MGUserInfo.h
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2019/4/23.
  6. // Copyright © 2019年 xfg. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. //"id": "30",
  10. //"uid": "9",
  11. //"content": "aaaa",
  12. //"audio": "",
  13. //"video": "",
  14. //"audio_duration": "0",
  15. //"cover_url": "",
  16. //"praise": "0",
  17. //"comments": "0",
  18. //"forwarding": "0",
  19. //"addtime": "1555901175",
  20. //"status": "1",
  21. //"nick_name": "\u6258\u7f57\u592b\u65af\u57fa",
  22. //"head_image": "http:\/\/fw25live.oss-cn-beijing.aliyuncs.com\/public\/attachment\/201904\/9\/1555821250969.png",
  23. //"is_like": 0
  24. NS_ASSUME_NONNULL_BEGIN
  25. //动态类型
  26. typedef NS_ENUM(int,DynType){
  27. DynType_Original = 0, //原创
  28. DynType_Forward //转发
  29. };
  30. //可见性
  31. typedef NS_ENUM(int,VisibleType){
  32. Visible_AllPeople = 0,//所有人可见
  33. Visible_OnlyFriend //仅好友可见
  34. };
  35. @interface MGGroupUserInfo : NSObject
  36. @property (nonatomic, strong) MGGroupUserInfo *forwardModel;//上一条动态
  37. @property (nonatomic, copy) NSString *dynamicId; //动态Id
  38. @property (nonatomic, copy) NSString *dynamic_id; //动态Id
  39. @property (nonatomic, assign) DynType type; //动态类型
  40. @property (nonatomic, assign) VisibleType visible; //可见性
  41. @property(nonatomic, strong) NSString *id;
  42. @property(nonatomic, strong) NSString *uid;
  43. @property(nonatomic, strong) NSString *user_id;
  44. @property(nonatomic, strong) NSString *content;
  45. @property(nonatomic, strong) NSString *msg_content;
  46. @property(nonatomic, strong) NSString *audio;
  47. @property(nonatomic, strong) NSString *video;
  48. @property(nonatomic, strong) NSString *audio_duration;
  49. @property(nonatomic, strong) NSString *cover_url;
  50. @property(nonatomic, strong) NSString *video_url;
  51. @property(nonatomic, strong) NSString *praise;
  52. @property(nonatomic, strong) NSString *comments;
  53. @property(nonatomic, strong) NSString *forwarding;
  54. @property(nonatomic, strong) NSString *addtime;
  55. @property(nonatomic, strong) NSString *status;
  56. @property(nonatomic, strong) NSString *nick_name;
  57. @property(nonatomic, strong) NSString *head_image;
  58. @property(nonatomic, strong) NSString *is_like;
  59. @property(nonatomic, strong) NSString *industry;
  60. @property(nonatomic, strong) NSString *company;
  61. @property(nonatomic, strong) NSString *job;
  62. @property(nonatomic, strong) NSString *publishTime;
  63. @property(nonatomic, strong) NSString *timing;
  64. @property(nonatomic, strong) NSString *sex;
  65. @property(nonatomic, strong) NSString *theme_id;
  66. @property(nonatomic, strong) NSString *theme;
  67. @property (nonatomic, assign) BOOL isRepost;//转发
  68. @property (nonatomic, assign) BOOL isOpening;
  69. @property (nonatomic, assign, readonly) BOOL shouldShowMoreButton;
  70. @property (nonatomic, assign) BOOL showDeleteButton;
  71. @property (nonatomic, assign) BOOL hiddenBotLine;//隐藏底部高度15的分隔线
  72. @property (nonatomic, strong) NSArray <NSURL *>*picUrls; //原图像Url
  73. @property (nonatomic, strong) NSArray <NSURL *>*thumbnailPicUrls;//缩略图Url
  74. @property(nonatomic, assign) BOOL bottomViewSelect;
  75. @property (nonatomic,copy) NSString *no_name;/**<*/
  76. @property (nonatomic,copy) NSString *rank;/**<*/
  77. @property (nonatomic,copy) NSString *media_attr;/**<*/
  78. @property (nonatomic,copy) NSString *lng;/**<*/
  79. @property (nonatomic,copy) NSString *juli;/**<*/
  80. @property (nonatomic,copy) NSString *is_top;/**<*/
  81. @property (nonatomic,copy) NSNumber *is_focus;/**<*/
  82. @property (nonatomic,copy) NSString *at_user;/**<*/
  83. @property (nonatomic,copy) NSString *lat;/**<*/
  84. @property (nonatomic,copy) NSString *address;/**<*/
  85. //@property(nonatomic, strong) NSString *is_focus;
  86. @end
  87. NS_ASSUME_NONNULL_END