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.
76 lines
1.7 KiB
76 lines
1.7 KiB
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'ticket_details.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class TicketDetails {
|
||
|
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 = '';
|
||
|
List<TicketItemList>? ticketItemList = [];
|
||
|
String? userName = '';
|
||
|
String? userAvatar = '';
|
||
|
int? isogenyNumber = 0;
|
||
|
dynamic businessStartDate;
|
||
|
dynamic businessEndDate;
|
||
|
|
||
|
TicketDetails();
|
||
|
|
||
|
factory TicketDetails.fromJson(Map<String, dynamic> json) => _$TicketDetailsFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$TicketDetailsToJson(this);
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class TicketItemList {
|
||
|
String? id = '';
|
||
|
String? createTime = '';
|
||
|
String? createUser = '';
|
||
|
String? updateTime = '';
|
||
|
String? updateUser = '';
|
||
|
String? ticketId = '';
|
||
|
String? relationType = '';
|
||
|
String? relationId = '';
|
||
|
String? name = '';
|
||
|
String? showImage = '';
|
||
|
int? state = 0;
|
||
|
dynamic finishTime;
|
||
|
int? isDelete = 0;
|
||
|
String? tenantCode = '';
|
||
|
int? canWipedNumber = 0;
|
||
|
|
||
|
TicketItemList();
|
||
|
|
||
|
factory TicketItemList.fromJson(Map<String, dynamic> json) => _$TicketItemListFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$TicketItemListToJson(this);
|
||
|
|
||
|
|
||
|
}
|