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.
318 lines
7.0 KiB
318 lines
7.0 KiB
import 'package:huixiang/data/order_product_vo.dart'; |
|
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'min_order_info.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
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<OrderProductVO>? 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<String, dynamic> json) => |
|
_$MinOrderInfoFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$MinOrderInfoToJson(this); |
|
} |
|
|
|
|
|
@JsonSerializable(explicitToJson: true) |
|
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<String, dynamic> json) => |
|
_$OrderInfoVoFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$OrderInfoVoToJson(this); |
|
} |
|
|
|
|
|
@JsonSerializable(explicitToJson: true) |
|
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<String, dynamic> json) => |
|
_$MemberVOFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$MemberVOToJson(this); |
|
} |
|
|
|
|
|
@JsonSerializable(explicitToJson: true) |
|
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<String, dynamic> json) => |
|
_$MemberRankVoFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$MemberRankVoToJson(this); |
|
}
|
|
|