import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/trade_summary.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/trade_summary.g.dart'; @JsonSerializable() class TradeSummary { List? saleBusinessAnalysisVOS = []; String? collectionAmount = ''; int? collectionCount = 0; String? refundAmount = ''; int? refundCount = 0; TradeSummary(); factory TradeSummary.fromJson(Map json) => $TradeSummaryFromJson(json); Map toJson() => $TradeSummaryToJson(this); @override String toString() { return jsonEncode(this); } } @JsonSerializable() class SaleBusinessAnalysisVOS { String? localDateTime = ''; String? localDateBigDecimal = ''; String? localDateCount = ''; SaleBusinessAnalysisVOS(); factory SaleBusinessAnalysisVOS.fromJson(Map json) => $SaleBusinessAnalysisVOSFromJson(json); Map toJson() => $SaleBusinessAnalysisVOSToJson(this); @override String toString() { return jsonEncode(this); } }