import 'package:huixiang/data/order_product_vo.dart'; import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/min_order_info.g.dart'; @JsonSerializable() class MinOrderInfo { MinOrderInfo({ this.id, this.createTime, this.createUser, this.updateTime, this.updateUser, this.tenantCode, this.storeId, this.storeName, this.tableId, this.orderType, this.clearTable, this.mid, this.parentId, this.parentCode, this.orderCode, this.dayFlowCode, this.orderStatus, this.sendStatus, this.payStatus, this.memberAccount, this.logisticsId, this.shipperCode, this.logisticsName, this.logisticsNum, this.logisticsCase, this.refundStatus, this.addressExt, this.postFee, this.orderSum, this.paySum, this.paySumSub, this.accountPay, this.couponSubPrice, this.customPrice, this.removeDecimal, this.isSubscribe, this.subcribeTime, this.sendTime, this.confirmTime, this.returnMoneyTime, this.notes, this.prepayId, this.payTime, this.payChannel, this.payNum, this.promotionId, this.couponId, this.couponName, this.isDelete, this.isTakeOut, this.batch, this.orderDiscountPrice, this.dishesDiscountPrice, this.orderPercentPrice, this.finalPayPrice, this.activityNoPrice, this.activityDiscountPrice, this.totalDiscountPrice, this.totalPackagingFee, this.benefitDiscountAmount, this.orderSource, this.address, this.discountPercent, this.discountAmount, this.discountType, this.uniqueDiscountType, this.discountMoney, this.overTime, this.orderProductVOList, this.moneyReturnList, this.goodsReturnList, this.moneyReturnVOList, this.goodsReturnVOList, this.moneyReturnActionHistoryList, this.goodsReturnActionHistoryList, this.currentTime, this.tablePrice, this.tableName, this.balance, this.money, this.prodNum, this.onCredit, this.orderInfoVo, this.endPayTime, this.orderSumPrice, this.isRaise,}); String? id; String? createTime; String? createUser; String? updateTime; String? updateUser; String? tenantCode; String? storeId; String? storeName; String? tableId; int? orderType; bool? clearTable; String? mid; String? parentId; String? parentCode; String? orderCode; String? dayFlowCode; int? orderStatus; int? sendStatus; int? payStatus; String? memberAccount; String? logisticsId; String? shipperCode; String? logisticsName; String? logisticsNum; dynamic logisticsCase; int? refundStatus; dynamic addressExt; String? postFee; String? orderSum; String? paySum; String? paySumSub; String? accountPay; String? couponSubPrice; String? customPrice; String? removeDecimal; bool? isSubscribe; dynamic subcribeTime; dynamic sendTime; dynamic confirmTime; dynamic returnMoneyTime; String? notes; dynamic prepayId; dynamic payTime; int? payChannel; dynamic payNum; String? promotionId; String? couponId; String? couponName; int? isDelete; int? isTakeOut; int? batch; String? orderDiscountPrice; String? dishesDiscountPrice; String? orderPercentPrice; String? finalPayPrice; String? activityNoPrice; String? activityDiscountPrice; String? totalDiscountPrice; String? totalPackagingFee; String? benefitDiscountAmount; int? orderSource; dynamic address; dynamic discountPercent; String? discountAmount; dynamic discountType; dynamic uniqueDiscountType; dynamic discountMoney; dynamic overTime; List? orderProductVOList; dynamic moneyReturnList; dynamic goodsReturnList; dynamic moneyReturnVOList; dynamic goodsReturnVOList; dynamic moneyReturnActionHistoryList; dynamic goodsReturnActionHistoryList; String? currentTime; dynamic tablePrice; String? tableName; String? balance; String? money; dynamic prodNum; bool? onCredit; OrderInfoVo? orderInfoVo; String? endPayTime; String? orderSumPrice; bool? isRaise; factory MinOrderInfo.fromJson(Map json) => $MinOrderInfoFromJson(json); Map toJson() => $MinOrderInfoToJson(this); } /// orderNum : 0 /// productNum : 0 /// mins : 1 /// memberVO : {"vipNo":"1406879717390286848","nickname":"","headimg":"","userType":true,"sex":"0","level":1,"addressId":null,"remark":null,"phone":"15827991714","createTime":"2021-07-10 15:44:23","birth":"1993-02-19","balance":"0.00","money":"9999608.09","points":"1147","isBind":true,"memberRankVo":{"id":"1402947503522840576","rankName":"黄金会员","rankOrigin":8888,"rankContent":"","rankImg":"","status":true,"nextId":"1402947503522840577","nextName":"钻石会员","nextOrigin":null},"age":28} /// postAge : "0.00" /// price : "208.00" /// orderSum : "208.00" /// discountAmount : null /// promotionInfoList : null /// couponList : null /// threshold : "0" /// freePostAge : "0" /// orderProductList : null @JsonSerializable() class OrderInfoVo { OrderInfoVo({ this.orderNum, this.productNum, this.mins, this.memberVO, this.postAge, this.price, this.orderSum, this.discountAmount, this.promotionInfoList, this.couponList, this.threshold, this.freePostAge, this.orderProductList,}){ this.orderNum = orderNum; this.productNum = productNum; this.mins = mins; this.memberVO = memberVO; this.postAge = postAge; this.price = price; this.orderSum = orderSum; this.discountAmount = discountAmount; this.promotionInfoList = promotionInfoList; this.couponList = couponList; this.threshold = threshold; this.freePostAge = freePostAge; this.orderProductList = orderProductList; } int? orderNum; int? productNum; int? mins; MemberVO? memberVO; String? postAge; String? price; String? orderSum; String? discountAmount; dynamic promotionInfoList; dynamic couponList; String? threshold; String? freePostAge; dynamic orderProductList; factory OrderInfoVo.fromJson(Map json) => $OrderInfoVoFromJson(json); Map toJson() => $OrderInfoVoToJson(this); } /// vipNo : "1406879717390286848" /// nickname : "" /// headimg : "" /// userType : true /// sex : "0" /// level : 1 /// addressId : null /// remark : null /// phone : "15827991714" /// createTime : "2021-07-10 15:44:23" /// birth : "1993-02-19" /// balance : "0.00" /// money : "9999608.09" /// points : "1147" /// isBind : true /// memberRankVo : {"id":"1402947503522840576","rankName":"黄金会员","rankOrigin":8888,"rankContent":"","rankImg":"","status":true,"nextId":"1402947503522840577","nextName":"钻石会员","nextOrigin":null} /// age : 28 @JsonSerializable() class MemberVO { MemberVO({ this.vipNo, this.nickname, this.headimg, this.userType, this.sex, this.level, this.addressId, this.remark, this.phone, this.createTime, this.birth, this.balance, this.money, this.points, this.isBind, this.memberRankVo, this.age,}); String? vipNo; String? nickname; String? headimg; bool? userType; String? sex; int? level; dynamic addressId; dynamic remark; String? phone; String? createTime; String? birth; String? balance; String? money; String? points; bool? isBind; MemberRankVo? memberRankVo; int? age; factory MemberVO.fromJson(Map json) => $MemberVOFromJson(json); Map toJson() => $MemberVOToJson(this); } /// id : "1402947503522840576" /// rankName : "黄金会员" /// rankOrigin : 8888 /// rankContent : "" /// rankImg : "" /// status : true /// nextId : "1402947503522840577" /// nextName : "钻石会员" /// nextOrigin : null @JsonSerializable() class MemberRankVo { MemberRankVo({ String? id, String? rankName, int? rankOrigin, String? rankContent, String? rankImg, bool? status, String? nextId, String? nextName, dynamic nextOrigin,}); String? id; String? rankName; int? rankOrigin; String? rankContent; String? rankImg; bool? status; String? nextId; String? nextName; dynamic nextOrigin; factory MemberRankVo.fromJson(Map json) => $MemberRankVoFromJson(json); Map toJson() => $MemberRankVoToJson(this); }