import 'package:huixiang/data/ticket.dart'; import 'package:huixiang/data/ticket_item.dart'; import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/ticket_record.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/ticket_record.g.dart'; @JsonSerializable() class TicketRecord { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? ticketId = ''; String? ticketCode = ''; String? ticketName = ''; List? ticketItemIds = []; String? finishTime = ''; String? wipedUserId = ''; String? wipedUserName = ''; String? wipedStoreId = ''; int? isDelete = 0; String? tenantCode = ''; Ticket? ticket; List? ticketItems = []; dynamic userName; dynamic userAvatar; dynamic userPhone; TicketRecord(); factory TicketRecord.fromJson(Map json) => $TicketRecordFromJson(json); Map toJson() => $TicketRecordToJson(this); @override String toString() { return jsonEncode(this); } }