import 'package:json_annotation/json_annotation.dart'; part 'coupon_list.g.dart'; @JsonSerializable(explicitToJson: true) class CouponList { String? id = ''; String? storeId = ''; int? bizType = 0; String? fullAmount = ''; String? discountAmount = ''; int? fullNumber = 0; int? discountPercent = 0; String? bizId = ''; String? publishStartTime = ''; String? publishEndTime = ''; String? useStartTime = ''; String? useEndTime = ''; String? promotionId = ''; String? mid = ''; String? couponId = ''; String? receiveTime = ''; dynamic useTime; int? status = 0; String? tenantCode = ''; int? type = 0; String? promotionName = ''; bool? usable = false; bool? allProduct = false; bool? isMaxCoupon = false; dynamic productList; CouponList(); factory CouponList.fromJson(Map json) => _$CouponListFromJson(json); Map toJson() => _$CouponListToJson(this); }