import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/ticket_show.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/ticket_show.g.dart'; @JsonSerializable() class TicketShow { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? mid = ''; String? storeId = ''; String? orderId = ''; String? orderProductId = ''; String? productId = ''; String? productSkuId = ''; String? ticketWipedTimeTemplateId = ''; String? amount = ''; String? name = ''; String? code = ''; String? useStartTime = ''; String? useEndTime = ''; dynamic finishTime; String? type = ''; dynamic source; dynamic takeType; String? style = ''; int? state = 0; bool? canSettlement = false; bool? canSubscribe = false; int? isDelete = 0; String? tenantCode = ''; dynamic nickName; dynamic userAvatar; dynamic userPhone; TicketShow(); factory TicketShow.fromJson(Map json) => $TicketShowFromJson(json); Map toJson() => $TicketShowToJson(this); @override String toString() { return jsonEncode(this); } }