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.
64 lines
2.5 KiB
64 lines
2.5 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'coupon_list.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
CouponList _$CouponListFromJson(Map<String, dynamic> json) => CouponList()
|
||
|
..id = json['id'] as String?
|
||
|
..storeId = json['storeId'] as String?
|
||
|
..bizType = (json['bizType'] as num?)?.toInt()
|
||
|
..fullAmount = json['fullAmount'] as String?
|
||
|
..discountAmount = json['discountAmount'] as String?
|
||
|
..fullNumber = (json['fullNumber'] as num?)?.toInt()
|
||
|
..discountPercent = (json['discountPercent'] as num?)?.toInt()
|
||
|
..bizId = json['bizId'] as String?
|
||
|
..publishStartTime = json['publishStartTime'] as String?
|
||
|
..publishEndTime = json['publishEndTime'] as String?
|
||
|
..useStartTime = json['useStartTime'] as String?
|
||
|
..useEndTime = json['useEndTime'] as String?
|
||
|
..promotionId = json['promotionId'] as String?
|
||
|
..mid = json['mid'] as String?
|
||
|
..couponId = json['couponId'] as String?
|
||
|
..receiveTime = json['receiveTime'] as String?
|
||
|
..useTime = json['useTime']
|
||
|
..status = (json['status'] as num?)?.toInt()
|
||
|
..tenantCode = json['tenantCode'] as String?
|
||
|
..type = (json['type'] as num?)?.toInt()
|
||
|
..promotionName = json['promotionName'] as String?
|
||
|
..usable = json['usable'] as bool?
|
||
|
..allProduct = json['allProduct'] as bool?
|
||
|
..isMaxCoupon = json['isMaxCoupon'] as bool?
|
||
|
..productList = json['productList'];
|
||
|
|
||
|
Map<String, dynamic> _$CouponListToJson(CouponList instance) =>
|
||
|
<String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'storeId': instance.storeId,
|
||
|
'bizType': instance.bizType,
|
||
|
'fullAmount': instance.fullAmount,
|
||
|
'discountAmount': instance.discountAmount,
|
||
|
'fullNumber': instance.fullNumber,
|
||
|
'discountPercent': instance.discountPercent,
|
||
|
'bizId': instance.bizId,
|
||
|
'publishStartTime': instance.publishStartTime,
|
||
|
'publishEndTime': instance.publishEndTime,
|
||
|
'useStartTime': instance.useStartTime,
|
||
|
'useEndTime': instance.useEndTime,
|
||
|
'promotionId': instance.promotionId,
|
||
|
'mid': instance.mid,
|
||
|
'couponId': instance.couponId,
|
||
|
'receiveTime': instance.receiveTime,
|
||
|
'useTime': instance.useTime,
|
||
|
'status': instance.status,
|
||
|
'tenantCode': instance.tenantCode,
|
||
|
'type': instance.type,
|
||
|
'promotionName': instance.promotionName,
|
||
|
'usable': instance.usable,
|
||
|
'allProduct': instance.allProduct,
|
||
|
'isMaxCoupon': instance.isMaxCoupon,
|
||
|
'productList': instance.productList,
|
||
|
};
|