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.
40 lines
917 B
40 lines
917 B
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<String, dynamic> json) => _$CouponListFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$CouponListToJson(this); |
|
|
|
|
|
} |