import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/single_sales.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/single_sales.g.dart'; @JsonSerializable() class SingleSales { dynamic productId; int? saleNum = 0; String? productName = ''; dynamic productType; String? productGroupName = ''; String? sumPrice = ''; String? sellPrict = ''; String? productSkuName = ''; dynamic productSkuList; dynamic platterLsit; int? giveNum = 0; int? refundNum = 0; double? productCountPercent; double? productSellPricePercent; SingleSales(); factory SingleSales.fromJson(Map json) => $SingleSalesFromJson(json); Map toJson() => $SingleSalesToJson(this); @override String toString() { return jsonEncode(this); } }