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.
41 lines
1.1 KiB
41 lines
1.1 KiB
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<String>? ticketItemIds = []; |
|
String? finishTime = ''; |
|
String? wipedUserId = ''; |
|
String? wipedUserName = ''; |
|
String? wipedStoreId = ''; |
|
int? isDelete = 0; |
|
String? tenantCode = ''; |
|
Ticket? ticket; |
|
List<TicketItems>? ticketItems = []; |
|
dynamic userName; |
|
dynamic userAvatar; |
|
dynamic userPhone; |
|
|
|
TicketRecord(); |
|
|
|
factory TicketRecord.fromJson(Map<String, dynamic> json) => $TicketRecordFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $TicketRecordToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
}
|
|
|