flow_bean_entity.dart 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import 'package:bbyyy/generated/json/base/json_convert_content.dart';
  2. import 'package:bbyyy/generated/json/base/json_field.dart';
  3. class FlowBeanEntity with JsonConvert<FlowBeanEntity> {
  4. FlowBeanData data;
  5. String error;
  6. }
  7. class FlowBeanData with JsonConvert<FlowBeanData> {
  8. int total;
  9. FlowBeanDataData data;
  10. }
  11. class FlowBeanDataData with JsonConvert<FlowBeanDataData> {
  12. @JSONField(name: "total_amount")
  13. double totalAmount;
  14. List<FlowBeanDataDataRecords> records;
  15. }
  16. class FlowBeanDataDataRecords with JsonConvert<FlowBeanDataDataRecords> {
  17. int id;
  18. int type;
  19. @JSONField(name: "trader_pic")
  20. String traderPic;
  21. @JSONField(name: "pay_time")
  22. String payTime;
  23. @JSONField(name: "paid_amount")
  24. double paidAmount;
  25. @JSONField(name: "user_name")
  26. String userName;
  27. @JSONField(name: "user_pic")
  28. String userPic;
  29. @JSONField(name: "trader_uid")
  30. int traderUid;
  31. @JSONField(name: "peer_flow_id")
  32. int peerFlowId;
  33. @JSONField(name: "trader_name")
  34. String traderName;
  35. @JSONField(name: "pay_way")
  36. int payWay;
  37. @JSONField(name: "order_uid")
  38. int orderUid;
  39. @JSONField(name: "user_uid")
  40. int userUid;
  41. @JSONField(name: "user_balance")
  42. double userBalance;
  43. }