import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/dat_count.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/dat_count.g.dart'; @JsonSerializable() class DatCount { String? summaryDate = ''; String? dayMoney = ''; String? discountSum = ''; String? paySum = ''; String? rechargeMoney = ''; String? refundMoney = ''; int? orderNum = 0; int? rechargeOrderNum = 0; int? refundOrderNum = 0; int? payOrderNum = 0; int? discountOrderNum = 0; dynamic startDate; dynamic endDate; dynamic tablePerConsumption; int? numberOfPeople = 0; String? peoplePerConsumption = ''; dynamic realDiscountPer; dynamic tableRate; DatCount(); factory DatCount.fromJson(Map json) => $DatCountFromJson(json); Map toJson() => $DatCountToJson(this); @override String toString() { return jsonEncode(this); } }