123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- //
- // KBShareGoodsModel.h
- // YouHuiProject
- //
- // Created by jcymac on 2018/5/18.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "KBShareGoodsTempModel.h"
- typedef enum : NSUInteger {
- YHShareGoodsMemberTypeDefault, //未输入邀请码的会员
- YHShareGoodsMemberTypeInputRegularMembers,//输入过邀请码的会员
- YHShareGoodsMemberTypeSuperRegularMembers,//超级会员
- YHShareGoodsMemberTypeOperator //运营商
- } YHShareGoodsMemberType;
- typedef enum : NSUInteger {
- YHShareGoodsFromTypeOriginal, //原始
- YHShareGoodsFromTypeTianMao, //天猫
- YHShareGoodsFromTypeTaoBao //淘宝
- } YHShareGoodsFromType;
- typedef enum : NSUInteger {
- YHShareGoodsPurchaseTypeCoupons, //优惠券
- YHShareGoodsPurchaseTypePrice //折扣
- } YHShareGoodsPurchaseType;
- @interface KBShareGoodsModel : NSObject
- //用户类型
- @property(nonatomic)YHShareGoodsMemberType shareGoodsMemberType;
- //主图地址
- @property(nonatomic,copy)NSString *mainImageUrl;
- //分享物品来源
- @property(nonatomic)YHShareGoodsFromType shareGoodsFromType;
- //标题名称
- @property(nonatomic,copy)NSString *title;
- //券后(折后)价钱
- @property(nonatomic,copy)NSString *ticketAfterPrice;
- //券价值
- @property(nonatomic,copy)NSString *ticketPrice;
- //原价
- @property(nonatomic,copy)NSString *originalPrice;
- //二维码地址
- @property(nonatomic,copy)NSString *QRcodeImageUrl;
- //
- @property(nonatomic,copy)NSString *infoStr;
- //佣金
- @property(nonatomic,copy)NSString *commissionPrice;
- @property(nonatomic,copy)NSString *commission_price;
- @property(nonatomic,copy)NSString *commission_rate;
- @property(nonatomic,copy)NSString *discount_price;
- @property (nonatomic, strong) NSDictionary *userinfo;
- //折扣类型
- @property(nonatomic)YHShareGoodsPurchaseType shareGoodsPurchaseType;
- +(KBShareGoodsModel*)createShareGoodsModelByShareGoodsTempModel:(KBShareGoodsTempModel *)tempModel;
- @end
|