You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
10 months ago
|
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>? saleBusinessAnalysisVOS = [];
|
||
|
String? collectionAmount = '';
|
||
|
int? collectionCount = 0;
|
||
|
String? refundAmount = '';
|
||
|
int? refundCount = 0;
|
||
|
|
||
|
TradeSummary();
|
||
|
|
||
|
factory TradeSummary.fromJson(Map<String, dynamic> json) => $TradeSummaryFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => $TradeSummaryToJson(this);
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
return jsonEncode(this);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class SaleBusinessAnalysisVOS {
|
||
|
String? localDateTime = '';
|
||
|
String? localDateBigDecimal = '';
|
||
|
String? localDateCount = '';
|
||
|
|
||
|
SaleBusinessAnalysisVOS();
|
||
|
|
||
|
factory SaleBusinessAnalysisVOS.fromJson(Map<String, dynamic> json) => $SaleBusinessAnalysisVOSFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => $SaleBusinessAnalysisVOSToJson(this);
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
return jsonEncode(this);
|
||
|
}
|
||
|
}
|