| 1234567891011121314151617181920 |
- //
- // EarnestModel.m
- // IBOSSmini
- //
- // Created by guan hong hou on 2018/2/1.
- // Copyright © 2018年 elongtian. All rights reserved.
- //
- #import "EarnestModel.h"
- @implementation EarnestModel
- -(void)parseDic:(NSDictionary *)dic{
- _settlementTypeId=[[dic objectForKey:@"SettlementTypeID"]integerValue];
- _settlementTypeName=[dic objectForKey:@"SettlementTypeName"];
- double earnestSumValue= [[dic objectForKey:@"EarnestSum"]doubleValue];
- _earnestSum= [NSString stringWithFormat:@"%.4f",earnestSumValue];
- _remarks=[dic objectForKey:@"Remarks"];
- _valueFlag=[[dic objectForKey:@"ValueFlag"]integerValue];
- }
- @end
|