import 'package:json_annotation/json_annotation.dart'; part 'dat_count.g.dart'; @JsonSerializable(explicitToJson: true) 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); }