123456789101112131415161718192021222324252627282930 |
- //
- // LZMGoodDetailModel.m
- // YouHuiProject
- //
- // Created by xiaoxi on 2018/1/24.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "LZMGoodDetailModel.h"
- @implementation LZMGoodDetailModel
- + (NSDictionary<NSString *,id> *)modelCustomPropertyMapper {
- return @{@"Id":@"id"};
- }
- //+ (NSDictionary *)modelContainerPropertyGenericClass {
- // return @{@"shop":[LZMShopModel 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
|