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.
37 lines
921 B
37 lines
921 B
import 'package:huixiang/data/ticket.dart'; |
|
import 'package:huixiang/data/ticket_item.dart'; |
|
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'ticket_record.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
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); |
|
|
|
|
|
}
|
|
|