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.
67 lines
2.6 KiB
67 lines
2.6 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'ticket.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
Ticket _$TicketFromJson(Map<String, dynamic> json) => Ticket()
|
||
|
..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'] as String?
|
||
|
..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?;
|
||
|
|
||
|
Map<String, dynamic> _$TicketToJson(Ticket 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,
|
||
|
};
|