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.
33 lines
832 B
33 lines
832 B
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<String, dynamic> json) => $SingleSalesFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $SingleSalesToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |