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.
 
 
 
 
 
 

39 lines
876 B

import 'package:huixiang/generated/json/base/json_field.dart';
import 'package:huixiang/generated/json/ticket_stats.g.dart';
import 'dart:convert';
export 'package:huixiang/generated/json/ticket_stats.g.dart';
@JsonSerializable()
class TicketStats {
String? wipedDate = '';
List<InfoList>? infoList = [];
TicketStats();
factory TicketStats.fromJson(Map<String, dynamic> json) => $TicketStatsFromJson(json);
Map<String, dynamic> toJson() => $TicketStatsToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}
@JsonSerializable()
class InfoList {
String? ticketName = '';
String? ticketItemName = '';
int? wipedNumber = 0;
InfoList();
factory InfoList.fromJson(Map<String, dynamic> json) => $InfoListFromJson(json);
Map<String, dynamic> toJson() => $InfoListToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}