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.
44 lines
1.1 KiB
44 lines
1.1 KiB
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/coupon_list.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/coupon_list.g.dart'; |
|
|
|
@JsonSerializable() |
|
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); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |