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.
46 lines
1.1 KiB
46 lines
1.1 KiB
10 months ago
|
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<Store>? storeList;
|
||
|
@JSONField(serialize: false, deserialize: false)
|
||
|
bool isEx = false;
|
||
|
|
||
|
factory Coupon.fromJson(Map<String, dynamic> json) => $CouponFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => $CouponToJson(this);
|
||
|
}
|