import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/coupon_detail.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/coupon_detail.g.dart'; @JsonSerializable() class CouponDetail { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? mid = ''; String? couponId = ''; String? receiveTime = ''; dynamic useTime; String? useTimeStart = ''; String? useTimeEnd = ''; int? status = 0; bool? isDeleted = false; String? tenantCode = ''; String? couponCode = ''; CouponDetail(); factory CouponDetail.fromJson(Map json) => $CouponDetailFromJson(json); Map toJson() => $CouponDetailToJson(this); @override String toString() { return jsonEncode(this); } }