MyModel.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. //
  2. // MyModel.h
  3. // DSH
  4. //
  5. // Created by 张毅成 on 2018/9/26.
  6. // Copyright © 2018 WZX. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <objc/runtime.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface MyModel : NSObject<NSCoding>
  12. @property (strong, nonatomic) NSMutableArray *arrayData;
  13. @property (strong, nonatomic) NSMutableArray *achievementList;
  14. /**
  15. 昵称
  16. */
  17. @property (copy, nonatomic) NSString *nickname;
  18. /**
  19. 我的签名
  20. */
  21. @property (copy, nonatomic) NSString *myselfMsg;
  22. /**
  23. 头像地址
  24. */
  25. @property (strong, nonatomic) NSURL *imageUrl;
  26. /**
  27. 0否,1是
  28. */
  29. @property (assign, nonatomic) BOOL isVip;
  30. /**
  31. 已分享次数
  32. */
  33. @property (assign, nonatomic) NSInteger shareNum;
  34. /**
  35. 用户id
  36. */
  37. @property (copy, nonatomic) NSString *userId;
  38. /**
  39. 头像URL
  40. */
  41. @property (strong, nonatomic) NSURL *headimgurl;
  42. /**
  43. wx头像URL
  44. */
  45. @property (strong, nonatomic) NSURL *wxHeadImgUrl;
  46. /**
  47. 微信openid
  48. */
  49. @property (strong, nonatomic) NSString *openid;
  50. /**
  51. 性别
  52. */
  53. @property (copy, nonatomic) NSString *sex;
  54. /**
  55. loginToken
  56. */
  57. @property (copy, nonatomic) NSString *LOGINTOKEN;
  58. /**
  59. 是否是会员
  60. */
  61. @property (assign, nonatomic) BOOL userLevel;
  62. /**
  63. 苹果内购id
  64. */
  65. @property (copy, nonatomic) NSString *vipKey;
  66. /**
  67. VIP价格
  68. */
  69. @property (copy, nonatomic) NSString *vipMoney;
  70. /**
  71. 读了多少本书
  72. */
  73. @property (assign, nonatomic) NSInteger readNum;
  74. /**
  75. -1:未申请 0:待审核 1:审核通过 2:审核未通过
  76. */
  77. @property (assign, nonatomic) NSInteger isHaveReadClub;
  78. @property (copy, nonatomic) NSString *mobile;
  79. /**
  80. 我的签名
  81. */
  82. @property (copy, nonatomic) NSString *userTag;
  83. /**
  84. 1已认证 2审核中 3未认证 4认证失败
  85. */
  86. @property (copy, nonatomic) NSString *isApprove;
  87. @end
  88. NS_ASSUME_NONNULL_END