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.
294 lines
12 KiB
294 lines
12 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'min_order_info.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
MinOrderInfo _$MinOrderInfoFromJson(Map<String, dynamic> json) => MinOrderInfo(
|
||
|
id: json['id'] as String?,
|
||
|
createTime: json['createTime'] as String?,
|
||
|
createUser: json['createUser'] as String?,
|
||
|
updateTime: json['updateTime'] as String?,
|
||
|
updateUser: json['updateUser'] as String?,
|
||
|
tenantCode: json['tenantCode'] as String?,
|
||
|
storeId: json['storeId'] as String?,
|
||
|
storeName: json['storeName'] as String?,
|
||
|
tableId: json['tableId'] as String?,
|
||
|
orderType: (json['orderType'] as num?)?.toInt(),
|
||
|
clearTable: json['clearTable'] as bool?,
|
||
|
mid: json['mid'] as String?,
|
||
|
parentId: json['parentId'] as String?,
|
||
|
parentCode: json['parentCode'] as String?,
|
||
|
orderCode: json['orderCode'] as String?,
|
||
|
dayFlowCode: json['dayFlowCode'] as String?,
|
||
|
orderStatus: (json['orderStatus'] as num?)?.toInt(),
|
||
|
sendStatus: (json['sendStatus'] as num?)?.toInt(),
|
||
|
payStatus: (json['payStatus'] as num?)?.toInt(),
|
||
|
memberAccount: json['memberAccount'] as String?,
|
||
|
logisticsId: json['logisticsId'] as String?,
|
||
|
shipperCode: json['shipperCode'] as String?,
|
||
|
logisticsName: json['logisticsName'] as String?,
|
||
|
logisticsNum: json['logisticsNum'] as String?,
|
||
|
logisticsCase: json['logisticsCase'],
|
||
|
refundStatus: (json['refundStatus'] as num?)?.toInt(),
|
||
|
addressExt: json['addressExt'],
|
||
|
postFee: json['postFee'] as String?,
|
||
|
orderSum: json['orderSum'] as String?,
|
||
|
paySum: json['paySum'] as String?,
|
||
|
paySumSub: json['paySumSub'] as String?,
|
||
|
accountPay: json['accountPay'] as String?,
|
||
|
couponSubPrice: json['couponSubPrice'] as String?,
|
||
|
customPrice: json['customPrice'] as String?,
|
||
|
removeDecimal: json['removeDecimal'] as String?,
|
||
|
isSubscribe: json['isSubscribe'] as bool?,
|
||
|
subcribeTime: json['subcribeTime'],
|
||
|
sendTime: json['sendTime'],
|
||
|
confirmTime: json['confirmTime'],
|
||
|
returnMoneyTime: json['returnMoneyTime'],
|
||
|
notes: json['notes'] as String?,
|
||
|
prepayId: json['prepayId'],
|
||
|
payTime: json['payTime'],
|
||
|
payChannel: (json['payChannel'] as num?)?.toInt(),
|
||
|
payNum: json['payNum'],
|
||
|
promotionId: json['promotionId'] as String?,
|
||
|
couponId: json['couponId'] as String?,
|
||
|
couponName: json['couponName'] as String?,
|
||
|
isDelete: (json['isDelete'] as num?)?.toInt(),
|
||
|
isTakeOut: (json['isTakeOut'] as num?)?.toInt(),
|
||
|
batch: (json['batch'] as num?)?.toInt(),
|
||
|
orderDiscountPrice: json['orderDiscountPrice'] as String?,
|
||
|
dishesDiscountPrice: json['dishesDiscountPrice'] as String?,
|
||
|
orderPercentPrice: json['orderPercentPrice'] as String?,
|
||
|
finalPayPrice: json['finalPayPrice'] as String?,
|
||
|
activityNoPrice: json['activityNoPrice'] as String?,
|
||
|
activityDiscountPrice: json['activityDiscountPrice'] as String?,
|
||
|
totalDiscountPrice: json['totalDiscountPrice'] as String?,
|
||
|
totalPackagingFee: json['totalPackagingFee'] as String?,
|
||
|
benefitDiscountAmount: json['benefitDiscountAmount'] as String?,
|
||
|
orderSource: (json['orderSource'] as num?)?.toInt(),
|
||
|
address: json['address'],
|
||
|
discountPercent: json['discountPercent'],
|
||
|
discountAmount: json['discountAmount'] as String?,
|
||
|
discountType: json['discountType'],
|
||
|
uniqueDiscountType: json['uniqueDiscountType'],
|
||
|
discountMoney: json['discountMoney'],
|
||
|
overTime: json['overTime'],
|
||
|
orderProductVOList: (json['orderProductVOList'] as List<dynamic>?)
|
||
|
?.map((e) => OrderProductVO.fromJson(e as Map<String, dynamic>))
|
||
|
.toList(),
|
||
|
moneyReturnList: json['moneyReturnList'],
|
||
|
goodsReturnList: json['goodsReturnList'],
|
||
|
moneyReturnVOList: json['moneyReturnVOList'],
|
||
|
goodsReturnVOList: json['goodsReturnVOList'],
|
||
|
moneyReturnActionHistoryList: json['moneyReturnActionHistoryList'],
|
||
|
goodsReturnActionHistoryList: json['goodsReturnActionHistoryList'],
|
||
|
currentTime: json['currentTime'] as String?,
|
||
|
tablePrice: json['tablePrice'],
|
||
|
tableName: json['tableName'] as String?,
|
||
|
balance: json['balance'] as String?,
|
||
|
money: json['money'] as String?,
|
||
|
prodNum: json['prodNum'],
|
||
|
onCredit: json['onCredit'] as bool?,
|
||
|
orderInfoVo: json['orderInfoVo'] == null
|
||
|
? null
|
||
|
: OrderInfoVo.fromJson(json['orderInfoVo'] as Map<String, dynamic>),
|
||
|
endPayTime: json['endPayTime'] as String?,
|
||
|
orderSumPrice: json['orderSumPrice'] as String?,
|
||
|
isRaise: json['isRaise'] as bool?,
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$MinOrderInfoToJson(MinOrderInfo instance) =>
|
||
|
<String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'createTime': instance.createTime,
|
||
|
'createUser': instance.createUser,
|
||
|
'updateTime': instance.updateTime,
|
||
|
'updateUser': instance.updateUser,
|
||
|
'tenantCode': instance.tenantCode,
|
||
|
'storeId': instance.storeId,
|
||
|
'storeName': instance.storeName,
|
||
|
'tableId': instance.tableId,
|
||
|
'orderType': instance.orderType,
|
||
|
'clearTable': instance.clearTable,
|
||
|
'mid': instance.mid,
|
||
|
'parentId': instance.parentId,
|
||
|
'parentCode': instance.parentCode,
|
||
|
'orderCode': instance.orderCode,
|
||
|
'dayFlowCode': instance.dayFlowCode,
|
||
|
'orderStatus': instance.orderStatus,
|
||
|
'sendStatus': instance.sendStatus,
|
||
|
'payStatus': instance.payStatus,
|
||
|
'memberAccount': instance.memberAccount,
|
||
|
'logisticsId': instance.logisticsId,
|
||
|
'shipperCode': instance.shipperCode,
|
||
|
'logisticsName': instance.logisticsName,
|
||
|
'logisticsNum': instance.logisticsNum,
|
||
|
'logisticsCase': instance.logisticsCase,
|
||
|
'refundStatus': instance.refundStatus,
|
||
|
'addressExt': instance.addressExt,
|
||
|
'postFee': instance.postFee,
|
||
|
'orderSum': instance.orderSum,
|
||
|
'paySum': instance.paySum,
|
||
|
'paySumSub': instance.paySumSub,
|
||
|
'accountPay': instance.accountPay,
|
||
|
'couponSubPrice': instance.couponSubPrice,
|
||
|
'customPrice': instance.customPrice,
|
||
|
'removeDecimal': instance.removeDecimal,
|
||
|
'isSubscribe': instance.isSubscribe,
|
||
|
'subcribeTime': instance.subcribeTime,
|
||
|
'sendTime': instance.sendTime,
|
||
|
'confirmTime': instance.confirmTime,
|
||
|
'returnMoneyTime': instance.returnMoneyTime,
|
||
|
'notes': instance.notes,
|
||
|
'prepayId': instance.prepayId,
|
||
|
'payTime': instance.payTime,
|
||
|
'payChannel': instance.payChannel,
|
||
|
'payNum': instance.payNum,
|
||
|
'promotionId': instance.promotionId,
|
||
|
'couponId': instance.couponId,
|
||
|
'couponName': instance.couponName,
|
||
|
'isDelete': instance.isDelete,
|
||
|
'isTakeOut': instance.isTakeOut,
|
||
|
'batch': instance.batch,
|
||
|
'orderDiscountPrice': instance.orderDiscountPrice,
|
||
|
'dishesDiscountPrice': instance.dishesDiscountPrice,
|
||
|
'orderPercentPrice': instance.orderPercentPrice,
|
||
|
'finalPayPrice': instance.finalPayPrice,
|
||
|
'activityNoPrice': instance.activityNoPrice,
|
||
|
'activityDiscountPrice': instance.activityDiscountPrice,
|
||
|
'totalDiscountPrice': instance.totalDiscountPrice,
|
||
|
'totalPackagingFee': instance.totalPackagingFee,
|
||
|
'benefitDiscountAmount': instance.benefitDiscountAmount,
|
||
|
'orderSource': instance.orderSource,
|
||
|
'address': instance.address,
|
||
|
'discountPercent': instance.discountPercent,
|
||
|
'discountAmount': instance.discountAmount,
|
||
|
'discountType': instance.discountType,
|
||
|
'uniqueDiscountType': instance.uniqueDiscountType,
|
||
|
'discountMoney': instance.discountMoney,
|
||
|
'overTime': instance.overTime,
|
||
|
'orderProductVOList':
|
||
|
instance.orderProductVOList?.map((e) => e.toJson()).toList(),
|
||
|
'moneyReturnList': instance.moneyReturnList,
|
||
|
'goodsReturnList': instance.goodsReturnList,
|
||
|
'moneyReturnVOList': instance.moneyReturnVOList,
|
||
|
'goodsReturnVOList': instance.goodsReturnVOList,
|
||
|
'moneyReturnActionHistoryList': instance.moneyReturnActionHistoryList,
|
||
|
'goodsReturnActionHistoryList': instance.goodsReturnActionHistoryList,
|
||
|
'currentTime': instance.currentTime,
|
||
|
'tablePrice': instance.tablePrice,
|
||
|
'tableName': instance.tableName,
|
||
|
'balance': instance.balance,
|
||
|
'money': instance.money,
|
||
|
'prodNum': instance.prodNum,
|
||
|
'onCredit': instance.onCredit,
|
||
|
'orderInfoVo': instance.orderInfoVo?.toJson(),
|
||
|
'endPayTime': instance.endPayTime,
|
||
|
'orderSumPrice': instance.orderSumPrice,
|
||
|
'isRaise': instance.isRaise,
|
||
|
};
|
||
|
|
||
|
OrderInfoVo _$OrderInfoVoFromJson(Map<String, dynamic> json) => OrderInfoVo(
|
||
|
orderNum: (json['orderNum'] as num?)?.toInt(),
|
||
|
productNum: (json['productNum'] as num?)?.toInt(),
|
||
|
mins: (json['mins'] as num?)?.toInt(),
|
||
|
memberVO: json['memberVO'] == null
|
||
|
? null
|
||
|
: MemberVO.fromJson(json['memberVO'] as Map<String, dynamic>),
|
||
|
postAge: json['postAge'] as String?,
|
||
|
price: json['price'] as String?,
|
||
|
orderSum: json['orderSum'] as String?,
|
||
|
discountAmount: json['discountAmount'] as String?,
|
||
|
promotionInfoList: json['promotionInfoList'],
|
||
|
couponList: json['couponList'],
|
||
|
threshold: json['threshold'] as String?,
|
||
|
freePostAge: json['freePostAge'] as String?,
|
||
|
orderProductList: json['orderProductList'],
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$OrderInfoVoToJson(OrderInfoVo instance) =>
|
||
|
<String, dynamic>{
|
||
|
'orderNum': instance.orderNum,
|
||
|
'productNum': instance.productNum,
|
||
|
'mins': instance.mins,
|
||
|
'memberVO': instance.memberVO?.toJson(),
|
||
|
'postAge': instance.postAge,
|
||
|
'price': instance.price,
|
||
|
'orderSum': instance.orderSum,
|
||
|
'discountAmount': instance.discountAmount,
|
||
|
'promotionInfoList': instance.promotionInfoList,
|
||
|
'couponList': instance.couponList,
|
||
|
'threshold': instance.threshold,
|
||
|
'freePostAge': instance.freePostAge,
|
||
|
'orderProductList': instance.orderProductList,
|
||
|
};
|
||
|
|
||
|
MemberVO _$MemberVOFromJson(Map<String, dynamic> json) => MemberVO(
|
||
|
vipNo: json['vipNo'] as String?,
|
||
|
nickname: json['nickname'] as String?,
|
||
|
headimg: json['headimg'] as String?,
|
||
|
userType: json['userType'] as bool?,
|
||
|
sex: json['sex'] as String?,
|
||
|
level: (json['level'] as num?)?.toInt(),
|
||
|
addressId: json['addressId'],
|
||
|
remark: json['remark'],
|
||
|
phone: json['phone'] as String?,
|
||
|
createTime: json['createTime'] as String?,
|
||
|
birth: json['birth'] as String?,
|
||
|
balance: json['balance'] as String?,
|
||
|
money: json['money'] as String?,
|
||
|
points: json['points'] as String?,
|
||
|
isBind: json['isBind'] as bool?,
|
||
|
memberRankVo: json['memberRankVo'] == null
|
||
|
? null
|
||
|
: MemberRankVo.fromJson(json['memberRankVo'] as Map<String, dynamic>),
|
||
|
age: (json['age'] as num?)?.toInt(),
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$MemberVOToJson(MemberVO instance) => <String, dynamic>{
|
||
|
'vipNo': instance.vipNo,
|
||
|
'nickname': instance.nickname,
|
||
|
'headimg': instance.headimg,
|
||
|
'userType': instance.userType,
|
||
|
'sex': instance.sex,
|
||
|
'level': instance.level,
|
||
|
'addressId': instance.addressId,
|
||
|
'remark': instance.remark,
|
||
|
'phone': instance.phone,
|
||
|
'createTime': instance.createTime,
|
||
|
'birth': instance.birth,
|
||
|
'balance': instance.balance,
|
||
|
'money': instance.money,
|
||
|
'points': instance.points,
|
||
|
'isBind': instance.isBind,
|
||
|
'memberRankVo': instance.memberRankVo?.toJson(),
|
||
|
'age': instance.age,
|
||
|
};
|
||
|
|
||
|
MemberRankVo _$MemberRankVoFromJson(Map<String, dynamic> json) => MemberRankVo(
|
||
|
id: json['id'] as String?,
|
||
|
rankName: json['rankName'] as String?,
|
||
|
rankOrigin: (json['rankOrigin'] as num?)?.toInt(),
|
||
|
rankContent: json['rankContent'] as String?,
|
||
|
rankImg: json['rankImg'] as String?,
|
||
|
status: json['status'] as bool?,
|
||
|
nextId: json['nextId'] as String?,
|
||
|
nextName: json['nextName'] as String?,
|
||
|
nextOrigin: json['nextOrigin'],
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$MemberRankVoToJson(MemberRankVo instance) =>
|
||
|
<String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'rankName': instance.rankName,
|
||
|
'rankOrigin': instance.rankOrigin,
|
||
|
'rankContent': instance.rankContent,
|
||
|
'rankImg': instance.rankImg,
|
||
|
'status': instance.status,
|
||
|
'nextId': instance.nextId,
|
||
|
'nextName': instance.nextName,
|
||
|
'nextOrigin': instance.nextOrigin,
|
||
|
};
|