import 'package:json_annotation/json_annotation.dart'; part 'coupon_vo.g.dart'; @JsonSerializable() class CouponVo { String bizId; num bizType; bool centreDisplay; String couponDescription; String couponImg; String couponName; String createTime; num createUser; num discountAmount; num discountPercent; num fullAmount; num id; num isDelete; num memberCouponId; num promotionId; String publishEndTime; String publishStartTime; String receiveTime; bool received; num status; String tenantCode; String updateTime; num 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); }