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.
 
 
 
 
 
 

48 lines
1.1 KiB

import 'dart:convert';
import 'package:huixiang/generated/json/base/json_field.dart';
import 'package:huixiang/generated/json/ticket.g.dart';
@JsonSerializable()
class Ticket {
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 = '';
String? finishTime = '';
String? type = '';
dynamic source;
dynamic takeType;
String? style = '';
int? state = 0;
bool? canSettlement = false;
bool? canSubscribe = false;
int? isDelete = 0;
String? tenantCode = '';
Ticket();
factory Ticket.fromJson(Map<String, dynamic> json) => $TicketFromJson(json);
Map<String, dynamic> toJson() => $TicketToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}