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