口袋优选

KBShareGoodsModel.h 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //
  2. // KBShareGoodsModel.h
  3. // YouHuiProject
  4. //
  5. // Created by jcymac on 2018/5/18.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "KBShareGoodsTempModel.h"
  10. typedef enum : NSUInteger {
  11. YHShareGoodsMemberTypeDefault, //未输入邀请码的会员
  12. YHShareGoodsMemberTypeInputRegularMembers,//输入过邀请码的会员
  13. YHShareGoodsMemberTypeSuperRegularMembers,//超级会员
  14. YHShareGoodsMemberTypeOperator //运营商
  15. } YHShareGoodsMemberType;
  16. typedef enum : NSUInteger {
  17. YHShareGoodsFromTypeOriginal, //原始
  18. YHShareGoodsFromTypeTianMao, //天猫
  19. YHShareGoodsFromTypeTaoBao //淘宝
  20. } YHShareGoodsFromType;
  21. typedef enum : NSUInteger {
  22. YHShareGoodsPurchaseTypeCoupons, //优惠券
  23. YHShareGoodsPurchaseTypePrice //折扣
  24. } YHShareGoodsPurchaseType;
  25. @interface KBShareGoodsModel : NSObject
  26. //用户类型
  27. @property(nonatomic)YHShareGoodsMemberType shareGoodsMemberType;
  28. //主图地址
  29. @property(nonatomic,copy)NSString *mainImageUrl;
  30. //分享物品来源
  31. @property(nonatomic)YHShareGoodsFromType shareGoodsFromType;
  32. //标题名称
  33. @property(nonatomic,copy)NSString *title;
  34. //券后(折后)价钱
  35. @property(nonatomic,copy)NSString *ticketAfterPrice;
  36. //券价值
  37. @property(nonatomic,copy)NSString *ticketPrice;
  38. //原价
  39. @property(nonatomic,copy)NSString *originalPrice;
  40. //二维码地址
  41. @property(nonatomic,copy)NSString *QRcodeImageUrl;
  42. //
  43. @property(nonatomic,copy)NSString *infoStr;
  44. //佣金
  45. @property(nonatomic,copy)NSString *commissionPrice;
  46. @property(nonatomic,copy)NSString *commission_price;
  47. @property(nonatomic,copy)NSString *commission_rate;
  48. @property(nonatomic,copy)NSString *discount_price;
  49. @property (nonatomic, strong) NSDictionary *userinfo;
  50. //折扣类型
  51. @property(nonatomic)YHShareGoodsPurchaseType shareGoodsPurchaseType;
  52. +(KBShareGoodsModel*)createShareGoodsModelByShareGoodsTempModel:(KBShareGoodsTempModel *)tempModel;
  53. @end