import 'package:huixiang/data/member_vo.dart'; import 'package:huixiang/data/order_product_vo.dart'; import 'package:json_annotation/json_annotation.dart'; part 'settle_order_info.g.dart'; @JsonSerializable(explicitToJson: true) class SettleOrderInfo { int? orderNum; int? productNum; int? mins; MemberVo? memberVO; String? postAge; String? price; String? benefitDiscountAmount; String? orderSum; String? discountAmount; List? promotionInfoList; List? couponList; String? threshold; String? freePostAge; List? orderProductList; String? promotionId; String? memberCouponId; bool? usePlateMoney; bool? isRaise; bool? isVipDay; int? selectDiscount; bool? useVipPriceSelect = false; String? vipDiscountAmount; String? totalDiscountAmount; String? vipDayDiscountAmount; String? discountType; String? totalPackagingFee; SettleOrderInfo(); factory SettleOrderInfo.fromJson(Map json) => _$SettleOrderInfoFromJson(json); Map toJson() => _$SettleOrderInfoToJson(this); } @JsonSerializable(explicitToJson: true) class CouponListBean { String? id; String? storeId; int? bizType; String? fullAmount; String? discountAmount; int? fullNumber; int? discountPercent; String? bizId; String? limitAmount; String? publishStartTime; String? publishEndTime; String? useStartTime; String? useEndTime; String? promotionId; dynamic mid; String? couponId; String? receiveTime; dynamic useTime; int? status; String? tenantCode; int? type; String? promotionName; bool? usable; bool? allProduct; bool? isMaxCoupon; dynamic productList; bool? isEx; String? usableReason; CouponListBean(); factory CouponListBean.fromJson(Map json) => _$CouponListBeanFromJson(json); Map toJson() => _$CouponListBeanToJson(this); } /// id : "1437254523520286720" /// createTime : "2021-09-13 11:19:16" /// createUser : "1333246101196636160" /// updateTime : "2021-09-13 17:30:00" /// updateUser : "0" /// storeId : "1433719074906439680" /// name : "�����ŵ�" /// image : "https://pos.upload.gznl.top/1175/2021/09/44d60dab-0ae3-4d07-b624-50b8ab99d0fc.jpg" /// description : "1" /// status : 4 /// applyStartTime : "2021-09-13 11:19:16" /// applyEndTime : "2021-09-13 11:19:16" /// activityStartTime : "2021-09-01 00:00:00" /// activityEndTime : "2021-10-30 00:00:00" /// doStartTime : null /// doEndTime : null /// isNeedSecurityDeposit : 0 /// securityDeposit : "0" /// tag : "11" /// promotionType : 1 /// promotionPlan : 0 /// promotionDetail : [{"limitTime":"0","discountRate":"0","discountAmount":"0","fullAmount":"0","collageNumber":"0","fullNumber":"1"}] /// channels : ["MINI","POS"] /// isVip : false /// isDelete : 0 /// tenantCode : "1175" /// canPartake : true /// isMaxPromotion : true /// promotionProuctList : null @JsonSerializable(explicitToJson: true) class PromotionInfoListBean { String? id; String? createTime; String? createUser; String? updateTime; String? updateUser; String? storeId; String? name; String? image; String? description; int? status; String? applyStartTime; String? applyEndTime; String? activityStartTime; String? activityEndTime; dynamic doStartTime; dynamic doEndTime; int? isNeedSecurityDeposit; String? securityDeposit; String? tag; int? promotionType; int? promotionPlan; List? promotionDetail; List? channels; bool? isVip; int? isDelete; String? tenantCode; bool? canPartake; bool? isMaxPromotion; dynamic promotionProuctList; PromotionInfoListBean(); factory PromotionInfoListBean.fromJson(Map json) => _$PromotionInfoListBeanFromJson(json); Map toJson() => _$PromotionInfoListBeanToJson(this); } /// limitTime : "0" /// discountRate : "0" /// discountAmount : "0" /// fullAmount : "0" /// collageNumber : "0" /// fullNumber : "1" @JsonSerializable(explicitToJson: true) class PromotionDetailBean { String? limitTime; String? discountRate; String? discountAmount; String? fullAmount; String? collageNumber; String? fullNumber; PromotionDetailBean(); factory PromotionDetailBean.fromJson(Map json) => _$PromotionDetailBeanFromJson(json); Map toJson() => _$PromotionDetailBeanToJson(this); }