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.
35 lines
883 B
35 lines
883 B
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'trade_summary.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
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);
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class SaleBusinessAnalysisVOS {
|
||
|
String? localDateTime = '';
|
||
|
String? localDateBigDecimal = '';
|
||
|
String? localDateCount = '';
|
||
|
|
||
|
SaleBusinessAnalysisVOS();
|
||
|
|
||
|
factory SaleBusinessAnalysisVOS.fromJson(Map<String, dynamic> json) => _$SaleBusinessAnalysisVOSFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$SaleBusinessAnalysisVOSToJson(this);
|
||
|
|
||
|
|
||
|
}
|