12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //
- // YZMAPrivilegeReferralModel.m
- // YouHuiProject
- //
- // Created by jcymac on 2018/5/21.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "YZMAPrivilegeReferralModel.h"
- @implementation YZMAPrivilegeReferralModel
- +(YZMAPrivilegeReferralModel *)defaultWithRow:(NSInteger )row{
- YZMAPrivilegeReferralModel *model=[[YZMAPrivilegeReferralModel alloc]init];
- NSString *title=@"";
- NSString *desc=@"";
- NSString *imgName=[NSString stringWithFormat:@"privilege_referral_cell_%@",@(row)];
- switch (row) {
- case 0:
- {
- title=@"自己购物有佣金";
- desc=@"你自己购买商品佣金100%归你";
- }
- break;
- case 1:
- {
- title=@"粉丝购物有佣金";
- desc=@"如果你的粉丝是会员,TA购买商品佣金100%归你";
- }
- break;
- case 2:
- {
- title=@"超级粉丝购物有佣金";
- desc=@"如果你的粉丝是超级会员,TA购买商品佣金100%归你,平台还会奖励你20%佣金";
- }
- break;
- case 3:
- {
- title=@"团队购物佣金";
- desc=@"如果你的粉丝是超级会员,TA购买商品佣金100%归你,平台还会奖励你20%佣金";
- }
- break;
- default:
- break;
- }
- model.title=@"";
- model.content=@"";
- model.img=@"";
- return model;
- }
- @end
|