import 'package:json_annotation/json_annotation.dart'; part 'coupon_vo.g.dart'; @JsonSerializable(explicitToJson: true) class CouponVo { String? bizId; num? bizType; bool? centreDisplay; String? couponDescription; String? couponImg; String? couponName; String? createTime; String? createUser; String? discountAmount; num? discountPercent; String? fullAmount; String? id; num? isDelete; String? memberCouponId; String? promotionId; String? publishEndTime; String? publishStartTime; String? receiveTime; bool? received; num? status; String? tenantCode; String? updateTime; String? updateUser; String? useEndTime; String? useStartTime; String? useTime; CouponVo({this.bizId, this.bizType, this.centreDisplay, this.couponDescription, this.couponImg, this.couponName, this.createTime, this.createUser, this.discountAmount, this.discountPercent, this.fullAmount, this.id, this.isDelete, this.memberCouponId, this.promotionId, this.publishEndTime, this.publishStartTime, this.receiveTime, this.received, this.status, this.tenantCode, this.updateTime, this.updateUser, this.useEndTime, this.useStartTime, this.useTime}); factory CouponVo.fromJson(Map json) => _$CouponVoFromJson(json); Map toJson() => _$CouponVoToJson(this); }