EarnestModel.m 638 B

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