123456789101112131415161718192021222324252627282930 |
- //
- // DRGoodDetailModel.m
- // YouHuiProject
- //
- // Created by xiaoxi on 2018/1/24.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "DRGoodDetailModel.h"
- @implementation DRGoodDetailModel
- + (NSDictionary<NSString *,id> *)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
|