import 'package:bbyyy/generated/json/use_x_ray_flow_bean_entity.g.dart'; import 'package:bbyyy/generated/json/base/json_field.dart'; @JsonSerializable() class UseXRayFlowBeanEntity { UseXRayFlowBeanEntity(); factory UseXRayFlowBeanEntity.fromJson(Map json) => $UseXRayFlowBeanEntityFromJson(json); Map toJson() => $UseXRayFlowBeanEntityToJson(this); UseXRayFlowBeanData data; String error; } @JsonSerializable() class UseXRayFlowBeanData { UseXRayFlowBeanData(); factory UseXRayFlowBeanData.fromJson(Map json) => $UseXRayFlowBeanDataFromJson(json); Map toJson() => $UseXRayFlowBeanDataToJson(this); @JSONField(name: "Valid") bool valid; @JSONField(name: "Flows") List flows; } @JsonSerializable() class UseXRayFlowBeanDataFlows { UseXRayFlowBeanDataFlows(); factory UseXRayFlowBeanDataFlows.fromJson(Map json) => $UseXRayFlowBeanDataFlowsFromJson(json); Map toJson() => $UseXRayFlowBeanDataFlowsToJson(this); int id; @JSONField(name: "Type") int type; @JSONField(name: "user_uid") int userUid; @JSONField(name: "UserName") String userName; @JSONField(name: "UserPic") String userPic; @JSONField(name: "trade_uid") int tradeUid; @JSONField(name: "TraderName") String traderName; @JSONField(name: "TraderPic") String traderPic; @JSONField(name: "pay_time") String payTime; @JSONField(name: "PayWay") int payWay; @JSONField(name: "paid_amount") double paidAmount; @JSONField(name: "user_balance") double userBalance; @JSONField(name: "order_uid") int orderUid; @JSONField(name: "peer_flow_id") int peerFlowId; String remark; }