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.
121 lines
4.9 KiB
121 lines
4.9 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'ticket_details.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
TicketDetails _$TicketDetailsFromJson(Map<String, dynamic> json) =>
|
||
|
TicketDetails()
|
||
|
..id = json['id'] as String?
|
||
|
..createTime = json['createTime'] as String?
|
||
|
..createUser = json['createUser'] as String?
|
||
|
..updateTime = json['updateTime'] as String?
|
||
|
..updateUser = json['updateUser'] as String?
|
||
|
..mid = json['mid'] as String?
|
||
|
..storeId = json['storeId'] as String?
|
||
|
..orderId = json['orderId'] as String?
|
||
|
..orderProductId = json['orderProductId'] as String?
|
||
|
..productId = json['productId'] as String?
|
||
|
..productSkuId = json['productSkuId'] as String?
|
||
|
..ticketWipedTimeTemplateId = json['ticketWipedTimeTemplateId'] as String?
|
||
|
..amount = json['amount'] as String?
|
||
|
..name = json['name'] as String?
|
||
|
..code = json['code'] as String?
|
||
|
..useStartTime = json['useStartTime'] as String?
|
||
|
..useEndTime = json['useEndTime'] as String?
|
||
|
..finishTime = json['finishTime']
|
||
|
..type = json['type'] as String?
|
||
|
..source = json['source']
|
||
|
..takeType = json['takeType']
|
||
|
..style = json['style'] as String?
|
||
|
..state = (json['state'] as num?)?.toInt()
|
||
|
..canSettlement = json['canSettlement'] as bool?
|
||
|
..canSubscribe = json['canSubscribe'] as bool?
|
||
|
..isDelete = (json['isDelete'] as num?)?.toInt()
|
||
|
..tenantCode = json['tenantCode'] as String?
|
||
|
..ticketItemList = (json['ticketItemList'] as List<dynamic>?)
|
||
|
?.map((e) => TicketItemList.fromJson(e as Map<String, dynamic>))
|
||
|
.toList()
|
||
|
..userName = json['userName'] as String?
|
||
|
..userAvatar = json['userAvatar'] as String?
|
||
|
..isogenyNumber = (json['isogenyNumber'] as num?)?.toInt()
|
||
|
..businessStartDate = json['businessStartDate']
|
||
|
..businessEndDate = json['businessEndDate'];
|
||
|
|
||
|
Map<String, dynamic> _$TicketDetailsToJson(TicketDetails instance) =>
|
||
|
<String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'createTime': instance.createTime,
|
||
|
'createUser': instance.createUser,
|
||
|
'updateTime': instance.updateTime,
|
||
|
'updateUser': instance.updateUser,
|
||
|
'mid': instance.mid,
|
||
|
'storeId': instance.storeId,
|
||
|
'orderId': instance.orderId,
|
||
|
'orderProductId': instance.orderProductId,
|
||
|
'productId': instance.productId,
|
||
|
'productSkuId': instance.productSkuId,
|
||
|
'ticketWipedTimeTemplateId': instance.ticketWipedTimeTemplateId,
|
||
|
'amount': instance.amount,
|
||
|
'name': instance.name,
|
||
|
'code': instance.code,
|
||
|
'useStartTime': instance.useStartTime,
|
||
|
'useEndTime': instance.useEndTime,
|
||
|
'finishTime': instance.finishTime,
|
||
|
'type': instance.type,
|
||
|
'source': instance.source,
|
||
|
'takeType': instance.takeType,
|
||
|
'style': instance.style,
|
||
|
'state': instance.state,
|
||
|
'canSettlement': instance.canSettlement,
|
||
|
'canSubscribe': instance.canSubscribe,
|
||
|
'isDelete': instance.isDelete,
|
||
|
'tenantCode': instance.tenantCode,
|
||
|
'ticketItemList':
|
||
|
instance.ticketItemList?.map((e) => e.toJson()).toList(),
|
||
|
'userName': instance.userName,
|
||
|
'userAvatar': instance.userAvatar,
|
||
|
'isogenyNumber': instance.isogenyNumber,
|
||
|
'businessStartDate': instance.businessStartDate,
|
||
|
'businessEndDate': instance.businessEndDate,
|
||
|
};
|
||
|
|
||
|
TicketItemList _$TicketItemListFromJson(Map<String, dynamic> json) =>
|
||
|
TicketItemList()
|
||
|
..id = json['id'] as String?
|
||
|
..createTime = json['createTime'] as String?
|
||
|
..createUser = json['createUser'] as String?
|
||
|
..updateTime = json['updateTime'] as String?
|
||
|
..updateUser = json['updateUser'] as String?
|
||
|
..ticketId = json['ticketId'] as String?
|
||
|
..relationType = json['relationType'] as String?
|
||
|
..relationId = json['relationId'] as String?
|
||
|
..name = json['name'] as String?
|
||
|
..showImage = json['showImage'] as String?
|
||
|
..state = (json['state'] as num?)?.toInt()
|
||
|
..finishTime = json['finishTime']
|
||
|
..isDelete = (json['isDelete'] as num?)?.toInt()
|
||
|
..tenantCode = json['tenantCode'] as String?
|
||
|
..canWipedNumber = (json['canWipedNumber'] as num?)?.toInt();
|
||
|
|
||
|
Map<String, dynamic> _$TicketItemListToJson(TicketItemList instance) =>
|
||
|
<String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'createTime': instance.createTime,
|
||
|
'createUser': instance.createUser,
|
||
|
'updateTime': instance.updateTime,
|
||
|
'updateUser': instance.updateUser,
|
||
|
'ticketId': instance.ticketId,
|
||
|
'relationType': instance.relationType,
|
||
|
'relationId': instance.relationId,
|
||
|
'name': instance.name,
|
||
|
'showImage': instance.showImage,
|
||
|
'state': instance.state,
|
||
|
'finishTime': instance.finishTime,
|
||
|
'isDelete': instance.isDelete,
|
||
|
'tenantCode': instance.tenantCode,
|
||
|
'canWipedNumber': instance.canWipedNumber,
|
||
|
};
|