猎豆优选

LDMessageModel.h 2.2KB

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