import 'package:huixiang/data/store.dart'; import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/coupon.g.dart'; @JsonSerializable() class Coupon { Coupon(); String? id; String? createTime; String? createUser; String? updateTime; String? updateUser; int? bizType; String? fullAmount; String? discountAmount; int? discountPercent; String? bizId; String? publishStartTime; String? publishEndTime; String? useStartTime; String? useEndTime; String? promotionId; bool? centreDisplay; bool? allProduct; String? tenantCode; String? remark; String? tenantName; int? isDelete; String? couponName; String? limitAmount; String? couponImg; String? couponDescription; String? memberCouponId; String? receiveTime; String? storeId; dynamic useTime; int? status; List? storeList; @JSONField(serialize: false, deserialize: false) bool isEx = false; factory Coupon.fromJson(Map json) => $CouponFromJson(json); Map toJson() => $CouponToJson(this); }