口袋优选

KBMessageModel.h 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // KBMessageModel.h
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/5/23.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface KBMessageModel : UIView
  10. @property (nonatomic, strong) NSString *Id;
  11. @property (nonatomic, strong) NSString *title;
  12. @property (nonatomic, strong) NSString *message;
  13. /*
  14. 消息类型
  15. 1 - 粉丝新增 : 粉丝数达到5个,10个,50个,100个,系统自动提醒,跳转到“我的粉丝”;
  16. 2 - 商品详情 : 记录所有推送的消息,跳转到商品详情或专题列表;
  17. 3 - 版本更新 : 发布新版本后运营人员后台发布提醒,跳转到应用市场;
  18. 4 - 收入结算 : 每月25号提醒用户上月佣金已结算,跳转到订单明细;
  19. 5 - 提现通过 : 当用户的提现申请通过后提醒,跳转到账户明细的提现记录;
  20. 6 - 收藏过期 : 收藏的优惠券过期前4小时(晚上8点),每天最多提醒一次,选最新收藏的;
  21. **/
  22. @property (nonatomic, strong) NSString *message_type;
  23. @property (nonatomic, strong) NSString *push_at;//接收消息时间
  24. @property (nonatomic, strong) NSString *is_view;//消息是否被查看:1 - 已查看;0 - 未查看
  25. @property (nonatomic, strong) NSString *group_id; //列表ID
  26. @property (nonatomic, strong) NSString *goods_or_group;
  27. /*good相关**/
  28. @property (nonatomic, strong) NSString *goods_id;
  29. @property (nonatomic, strong) NSString *is_coupon; //1:有优惠券,0:没有优惠券
  30. @property (nonatomic, strong) NSString *coupon_price;//券价格,如是1:必填
  31. @property (nonatomic, strong) NSString *price; //价格必填
  32. @property (nonatomic, strong) NSString *discount_price; //折扣价
  33. @property (nonatomic, strong) NSString *commission_rate; //佣金比率
  34. @property (nonatomic, strong) NSString *person_group; //推送人群类型:1 - 全部用户;2 - 部分用户;
  35. @property (nonatomic, strong) NSString *coupon_start_time;
  36. @property (nonatomic, strong) NSString *coupon_end_time;
  37. @end