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.
65 lines
2.6 KiB
65 lines
2.6 KiB
4 years ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'coupon.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
Coupon _$CouponFromJson(Map<String, dynamic> json) {
|
||
|
return Coupon()
|
||
|
..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
|
||
|
..bizType = json['bizType'] as int
|
||
|
..fullAmount = json['fullAmount'] as String
|
||
|
..discountAmount = json['discountAmount'] as String
|
||
|
..discountPercent = json['discountPercent'] as int
|
||
|
..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
|
||
|
..centreDisplay = json['centreDisplay'] as bool
|
||
|
..tenantCode = json['tenantCode'] as String
|
||
|
..isDelete = json['isDelete'] as int
|
||
|
..couponName = json['couponName'] as String
|
||
|
..couponImg = json['couponImg'] as String
|
||
|
..couponDescription = json['couponDescription'] as String
|
||
|
..memberCouponId = json['memberCouponId'] as String
|
||
|
..receiveTime = json['receiveTime'] as String
|
||
|
..useTime = json['useTime']
|
||
|
..status = json['status'] as int;
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> _$CouponToJson(Coupon instance) => <String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'createTime': instance.createTime,
|
||
|
'createUser': instance.createUser,
|
||
|
'updateTime': instance.updateTime,
|
||
|
'updateUser': instance.updateUser,
|
||
|
'bizType': instance.bizType,
|
||
|
'fullAmount': instance.fullAmount,
|
||
|
'discountAmount': instance.discountAmount,
|
||
|
'discountPercent': instance.discountPercent,
|
||
|
'bizId': instance.bizId,
|
||
|
'publishStartTime': instance.publishStartTime,
|
||
|
'publishEndTime': instance.publishEndTime,
|
||
|
'useStartTime': instance.useStartTime,
|
||
|
'useEndTime': instance.useEndTime,
|
||
|
'promotionId': instance.promotionId,
|
||
|
'centreDisplay': instance.centreDisplay,
|
||
|
'tenantCode': instance.tenantCode,
|
||
|
'isDelete': instance.isDelete,
|
||
|
'couponName': instance.couponName,
|
||
|
'couponImg': instance.couponImg,
|
||
|
'couponDescription': instance.couponDescription,
|
||
|
'memberCouponId': instance.memberCouponId,
|
||
|
'receiveTime': instance.receiveTime,
|
||
|
'useTime': instance.useTime,
|
||
|
'status': instance.status,
|
||
|
};
|