// // DRGoodDetailModel.m // YouHuiProject // // Created by xiaoxi on 2018/1/24. // Copyright © 2018年 kuxuan. All rights reserved. // #import "DRGoodDetailModel.h" @implementation DRGoodDetailModel + (NSDictionary *)modelCustomPropertyMapper { return @{@"Id":@"id"}; } //+ (NSDictionary *)modelContainerPropertyGenericClass { // return @{@"shop":[DRShopModel class]}; //} -(void)setCommission_price:(NSString *)commission_price{ if ([@"" isEqualToString:commission_price]) { _commission_price=@""; }else{ float tmp=[commission_price floatValue]; _commission_price=[NSString stringWithFormat:@"%.2lf",tmp]; } } @end