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.
1212 lines
61 KiB
1212 lines
61 KiB
6 months ago
|
/// records : [{"id":"1815299099583315968","createTime":"2024-07-22 16:13:27","createUser":null,"updateTime":null,"updateUser":null,"tenantCode":null,"storeId":null,"storeName":"前进麦味烘焙*海峡姐妹茶(哈乐城店)","tableId":null,"responsible":null,"orderType":null,"clearTable":null,"mid":null,"parentId":"0","parentCode":null,"orderCode":null,"dayFlowCode":null,"orderStatus":null,"sendStatus":null,"payStatus":1,"haveTimes":null,"invoicing":null,"memberAccount":null,"owner":null,"logisticsId":null,"shipperCode":null,"logisticsName":null,"logisticsNum":null,"logisticsCase":null,"refundStatus":null,"addressExt":null,"contactsExtList":null,"postFee":"0","totalPackagingFee":"0","couponSubPrice":"0","removeDecimal":"0","isSubscribe":null,"subcribeTime":null,"sendTime":null,"confirmTime":null,"returnMoneyTime":null,"notes":null,"prepayId":null,"payTime":null,"payChannel":null,"payNum":null,"promotionId":null,"actId":null,"couponId":null,"isDelete":null,"isTakeOut":null,"batch":1,"orderDiscountPrice":"0","dishesDiscountPrice":"0","orderPercentPrice":"0","activityNoPrice":"0","activityDiscountPrice":"0","uniqueDiscountType":null,"totalDiscountPrice":"0","vipDayDiscountPrice":"0","orderSource":null,"benefitDiscountAmount":"0","vipDiscountPrice":"0","orderMerge":null,"canSettlement":null,"endRefundTime":null,"orderProductList":[{"id":"1815299100225044480","createTime":"2024-07-22 16:13:27","createUser":"1428617748061093888","updateTime":"2024-07-22 16:13:27","updateUser":"1428617748061093888","tenantCode":"1175","storeId":"1432164681279078400","orderId":"1815299099583315968","actInfo":null,"productId":"1711580655285960704","times":null,"usedTimes":null,"productName":"桂花红豆包","skuId":"1711580655323709440","skuNameStr":"","skuImg":"","buyNum":2,"refundNum":0,"type":0,"reason":null,"weight":0.0,"applyPrice":"8.00","sellPrice":"8.00","postPay":"0.00","isDelete":0,"discountAmount":"0.00","discountPercent":100,"status":true,"batch":1,"deliveries":0,"ticketType":"","ticketDays":"0","takeType":null,"skuTickets":[],"ticketStyle":"","setMealDataList":[],"packagingFee":"0.00"}],"businessType":null,"paySum":"16.00","useInvoice":null,"payedPrice":"0","finalPayPrice":"16.00","isEnableSubscribePay":null,"invoiceId":null,"invoiceState":null,"posType":null},{"id":"1808763658105257984","createTime":"2024-07-04 15:23:56","createUser":null,"updateTime":null,"updateUser":null,"tenantCode":null,"storeId":null,"storeName":"海峡姐妹茶(歌笛湖印象里店)","tableId":null,"responsible":null,"orderType":null,"clearTable":null,"mid":null,"parentId":"0","parentCode":null,"orderCode":null,"dayFlowCode":null,"orderStatus":null,"sendStatus":null,"payStatus":1,"haveTimes":null,"invoicing":null,"memberAccount":null,"owner":null,"logisticsId":null,"shipperCode":null,"logisticsName":null,"logisticsNum":null,"logisticsCase":null,"refundStatus":null,"addressExt":null,"contactsExtList":null,"postFee":"0","totalPackagingFee":"0","couponSubPrice":"0","removeDecimal":"0","isSubscribe":null,"subcribeTime":null,"sendTime":null,"confirmTime":null,"returnMoneyTime":null,"notes":null,"prepayId":null,"payTime":null,"payChannel":null,"payNum":null,"promotionId":null,"actId":null,"couponId":null,"isDelete":null,"isTakeOut":null,"batch":1,"orderDiscountPrice":"0","dishesDiscountPrice":"0","orderPercentPrice":"0","activityNoPrice":"0","activityDiscountPrice":"0","uniqueDiscountType":null,"totalDiscountPrice":"0","vipDayDiscountPrice":"0","orderSource":null,"benefitDiscountAmount":"0","vipDiscountPrice":"0","orderMerge":null,"canSettlement":null,"endRefundTime":null,"orderProductList":[{"id":"1808763658377887744","createTime":"2024-07-04 15:23:56","createUser":"1428617748061093888","updateTime":"2024-07-04 15:23:56","updateUser":"1428617748061093888","tenantCode":"1175","storeId":"1665555596536971264","orderId":"1808763658105257984","actInfo":null,"productId":"1780474355029901312","times":null,"usedTimes":null,"productName":"拿铁加吐司下午茶套餐","skuId":"1780474355088621568","skuNameStr":"","skuImg":"","buyNum":1,"refundNum":0,"type":
|
||
|
/// total : "9"
|
||
|
/// size : "10"
|
||
|
/// current : "1"
|
||
|
/// orders : [{"column":"id","asc":false}]
|
||
|
/// hitCount : false
|
||
|
/// searchCount : true
|
||
|
/// pages : "1"
|
||
|
|
||
|
class InvoiceList {
|
||
|
InvoiceList({
|
||
|
List<Records> records,
|
||
|
String total,
|
||
|
String size,
|
||
|
String current,
|
||
|
List<Orders> orders,
|
||
|
bool hitCount,
|
||
|
bool searchCount,
|
||
|
String pages,}){
|
||
|
_records = records;
|
||
|
_total = total;
|
||
|
_size = size;
|
||
|
_current = current;
|
||
|
_orders = orders;
|
||
|
_hitCount = hitCount;
|
||
|
_searchCount = searchCount;
|
||
|
_pages = pages;
|
||
|
}
|
||
|
|
||
|
InvoiceList.fromJson(dynamic json) {
|
||
|
if (json['records'] != null) {
|
||
|
_records = [];
|
||
|
json['records'].forEach((v) {
|
||
|
_records.add(Records.fromJson(v));
|
||
|
});
|
||
|
}
|
||
|
_total = json['total'];
|
||
|
_size = json['size'];
|
||
|
_current = json['current'];
|
||
|
if (json['orders'] != null) {
|
||
|
_orders = [];
|
||
|
json['orders'].forEach((v) {
|
||
|
_orders.add(Orders.fromJson(v));
|
||
|
});
|
||
|
}
|
||
|
_hitCount = json['hitCount'];
|
||
|
_searchCount = json['searchCount'];
|
||
|
_pages = json['pages'];
|
||
|
}
|
||
|
List<Records> _records;
|
||
|
String _total;
|
||
|
String _size;
|
||
|
String _current;
|
||
|
List<Orders> _orders;
|
||
|
bool _hitCount;
|
||
|
bool _searchCount;
|
||
|
String _pages;
|
||
|
InvoiceList copyWith({ List<Records> records,
|
||
|
String total,
|
||
|
String size,
|
||
|
String current,
|
||
|
List<Orders> orders,
|
||
|
bool hitCount,
|
||
|
bool searchCount,
|
||
|
String pages,
|
||
|
}) => InvoiceList( records: records ?? _records,
|
||
|
total: total ?? _total,
|
||
|
size: size ?? _size,
|
||
|
current: current ?? _current,
|
||
|
orders: orders ?? _orders,
|
||
|
hitCount: hitCount ?? _hitCount,
|
||
|
searchCount: searchCount ?? _searchCount,
|
||
|
pages: pages ?? _pages,
|
||
|
);
|
||
|
List<Records> get records => _records;
|
||
|
String get total => _total;
|
||
|
String get size => _size;
|
||
|
String get current => _current;
|
||
|
List<Orders> get orders => _orders;
|
||
|
bool get hitCount => _hitCount;
|
||
|
bool get searchCount => _searchCount;
|
||
|
String get pages => _pages;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
if (_records != null) {
|
||
|
map['records'] = _records.map((v) => v.toJson()).toList();
|
||
|
}
|
||
|
map['total'] = _total;
|
||
|
map['size'] = _size;
|
||
|
map['current'] = _current;
|
||
|
if (_orders != null) {
|
||
|
map['orders'] = _orders.map((v) => v.toJson()).toList();
|
||
|
}
|
||
|
map['hitCount'] = _hitCount;
|
||
|
map['searchCount'] = _searchCount;
|
||
|
map['pages'] = _pages;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/// column : "id"
|
||
|
/// asc : false
|
||
|
|
||
|
class Orders {
|
||
|
Orders({
|
||
|
String column,
|
||
|
bool asc,}){
|
||
|
_column = column;
|
||
|
_asc = asc;
|
||
|
}
|
||
|
|
||
|
Orders.fromJson(dynamic json) {
|
||
|
_column = json['column'];
|
||
|
_asc = json['asc'];
|
||
|
}
|
||
|
String _column;
|
||
|
bool _asc;
|
||
|
Orders copyWith({ String column,
|
||
|
bool asc,
|
||
|
}) => Orders( column: column ?? _column,
|
||
|
asc: asc ?? _asc,
|
||
|
);
|
||
|
String get column => _column;
|
||
|
bool get asc => _asc;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['column'] = _column;
|
||
|
map['asc'] = _asc;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/// id : "1815299099583315968"
|
||
|
/// createTime : "2024-07-22 16:13:27"
|
||
|
/// createUser : null
|
||
|
/// updateTime : null
|
||
|
/// updateUser : null
|
||
|
/// tenantCode : null
|
||
|
/// storeId : null
|
||
|
/// storeName : "前进麦味烘焙*海峡姐妹茶(哈乐城店)"
|
||
|
/// tableId : null
|
||
|
/// responsible : null
|
||
|
/// orderType : null
|
||
|
/// clearTable : null
|
||
|
/// mid : null
|
||
|
/// parentId : "0"
|
||
|
/// parentCode : null
|
||
|
/// orderCode : null
|
||
|
/// dayFlowCode : null
|
||
|
/// orderStatus : null
|
||
|
/// sendStatus : null
|
||
|
/// payStatus : 1
|
||
|
/// haveTimes : null
|
||
|
/// invoicing : null
|
||
|
/// memberAccount : null
|
||
|
/// owner : null
|
||
|
/// logisticsId : null
|
||
|
/// shipperCode : null
|
||
|
/// logisticsName : null
|
||
|
/// logisticsNum : null
|
||
|
/// logisticsCase : null
|
||
|
/// refundStatus : null
|
||
|
/// addressExt : null
|
||
|
/// contactsExtList : null
|
||
|
/// postFee : "0"
|
||
|
/// totalPackagingFee : "0"
|
||
|
/// couponSubPrice : "0"
|
||
|
/// removeDecimal : "0"
|
||
|
/// isSubscribe : null
|
||
|
/// subcribeTime : null
|
||
|
/// sendTime : null
|
||
|
/// confirmTime : null
|
||
|
/// returnMoneyTime : null
|
||
|
/// notes : null
|
||
|
/// prepayId : null
|
||
|
/// payTime : null
|
||
|
/// payChannel : null
|
||
|
/// payNum : null
|
||
|
/// promotionId : null
|
||
|
/// actId : null
|
||
|
/// couponId : null
|
||
|
/// isDelete : null
|
||
|
/// isTakeOut : null
|
||
|
/// batch : 1
|
||
|
/// orderDiscountPrice : "0"
|
||
|
/// dishesDiscountPrice : "0"
|
||
|
/// orderPercentPrice : "0"
|
||
|
/// activityNoPrice : "0"
|
||
|
/// activityDiscountPrice : "0"
|
||
|
/// uniqueDiscountType : null
|
||
|
/// totalDiscountPrice : "0"
|
||
|
/// vipDayDiscountPrice : "0"
|
||
|
/// orderSource : null
|
||
|
/// benefitDiscountAmount : "0"
|
||
|
/// vipDiscountPrice : "0"
|
||
|
/// orderMerge : null
|
||
|
/// canSettlement : null
|
||
|
/// endRefundTime : null
|
||
|
/// orderProductList : [{"id":"1815299100225044480","createTime":"2024-07-22 16:13:27","createUser":"1428617748061093888","updateTime":"2024-07-22 16:13:27","updateUser":"1428617748061093888","tenantCode":"1175","storeId":"1432164681279078400","orderId":"1815299099583315968","actInfo":null,"productId":"1711580655285960704","times":null,"usedTimes":null,"productName":"桂花红豆包","skuId":"1711580655323709440","skuNameStr":"","skuImg":"","buyNum":2,"refundNum":0,"type":0,"reason":null,"weight":0.0,"applyPrice":"8.00","sellPrice":"8.00","postPay":"0.00","isDelete":0,"discountAmount":"0.00","discountPercent":100,"status":true,"batch":1,"deliveries":0,"ticketType":"","ticketDays":"0","takeType":null,"skuTickets":[],"ticketStyle":"","setMealDataList":[],"packagingFee":"0.00"}]
|
||
|
/// businessType : null
|
||
|
/// paySum : "16.00"
|
||
|
/// useInvoice : null
|
||
|
/// payedPrice : "0"
|
||
|
/// finalPayPrice : "16.00"
|
||
|
/// isEnableSubscribePay : null
|
||
|
/// invoiceId : null
|
||
|
/// invoiceState : null
|
||
|
/// posType : null
|
||
|
|
||
|
class Records {
|
||
|
Records({
|
||
|
String id,
|
||
|
String createTime,
|
||
|
dynamic createUser,
|
||
|
dynamic updateTime,
|
||
|
dynamic updateUser,
|
||
|
dynamic tenantCode,
|
||
|
dynamic storeId,
|
||
|
String storeName,
|
||
|
dynamic tableId,
|
||
|
dynamic responsible,
|
||
|
dynamic orderType,
|
||
|
dynamic clearTable,
|
||
|
dynamic mid,
|
||
|
String parentId,
|
||
|
dynamic parentCode,
|
||
|
dynamic orderCode,
|
||
|
dynamic dayFlowCode,
|
||
|
dynamic orderStatus,
|
||
|
dynamic sendStatus,
|
||
|
num payStatus,
|
||
|
dynamic haveTimes,
|
||
|
dynamic invoicing,
|
||
|
dynamic memberAccount,
|
||
|
dynamic owner,
|
||
|
dynamic logisticsId,
|
||
|
dynamic shipperCode,
|
||
|
dynamic logisticsName,
|
||
|
dynamic logisticsNum,
|
||
|
dynamic logisticsCase,
|
||
|
dynamic refundStatus,
|
||
|
dynamic addressExt,
|
||
|
dynamic contactsExtList,
|
||
|
String postFee,
|
||
|
String totalPackagingFee,
|
||
|
String couponSubPrice,
|
||
|
String removeDecimal,
|
||
|
dynamic isSubscribe,
|
||
|
dynamic subcribeTime,
|
||
|
dynamic sendTime,
|
||
|
dynamic confirmTime,
|
||
|
dynamic returnMoneyTime,
|
||
|
dynamic notes,
|
||
|
dynamic prepayId,
|
||
|
dynamic payTime,
|
||
|
dynamic payChannel,
|
||
|
dynamic payNum,
|
||
|
dynamic promotionId,
|
||
|
dynamic actId,
|
||
|
dynamic couponId,
|
||
|
dynamic isDelete,
|
||
|
dynamic isTakeOut,
|
||
|
num batch,
|
||
|
String orderDiscountPrice,
|
||
|
String dishesDiscountPrice,
|
||
|
String orderPercentPrice,
|
||
|
String activityNoPrice,
|
||
|
String activityDiscountPrice,
|
||
|
dynamic uniqueDiscountType,
|
||
|
String totalDiscountPrice,
|
||
|
String vipDayDiscountPrice,
|
||
|
dynamic orderSource,
|
||
|
String benefitDiscountAmount,
|
||
|
String vipDiscountPrice,
|
||
|
dynamic orderMerge,
|
||
|
dynamic canSettlement,
|
||
|
dynamic endRefundTime,
|
||
|
List<OrderProductList> orderProductList,
|
||
|
dynamic businessType,
|
||
|
String paySum,
|
||
|
dynamic useInvoice,
|
||
|
String payedPrice,
|
||
|
String finalPayPrice,
|
||
|
dynamic isEnableSubscribePay,
|
||
|
dynamic invoiceId,
|
||
|
dynamic invoiceState,
|
||
|
dynamic posType,}){
|
||
|
_id = id;
|
||
|
_createTime = createTime;
|
||
|
_createUser = createUser;
|
||
|
_updateTime = updateTime;
|
||
|
_updateUser = updateUser;
|
||
|
_tenantCode = tenantCode;
|
||
|
_storeId = storeId;
|
||
|
_storeName = storeName;
|
||
|
_tableId = tableId;
|
||
|
_responsible = responsible;
|
||
|
_orderType = orderType;
|
||
|
_clearTable = clearTable;
|
||
|
_mid = mid;
|
||
|
_parentId = parentId;
|
||
|
_parentCode = parentCode;
|
||
|
_orderCode = orderCode;
|
||
|
_dayFlowCode = dayFlowCode;
|
||
|
_orderStatus = orderStatus;
|
||
|
_sendStatus = sendStatus;
|
||
|
_payStatus = payStatus;
|
||
|
_haveTimes = haveTimes;
|
||
|
_invoicing = invoicing;
|
||
|
_memberAccount = memberAccount;
|
||
|
_owner = owner;
|
||
|
_logisticsId = logisticsId;
|
||
|
_shipperCode = shipperCode;
|
||
|
_logisticsName = logisticsName;
|
||
|
_logisticsNum = logisticsNum;
|
||
|
_logisticsCase = logisticsCase;
|
||
|
_refundStatus = refundStatus;
|
||
|
_addressExt = addressExt;
|
||
|
_contactsExtList = contactsExtList;
|
||
|
_postFee = postFee;
|
||
|
_totalPackagingFee = totalPackagingFee;
|
||
|
_couponSubPrice = couponSubPrice;
|
||
|
_removeDecimal = removeDecimal;
|
||
|
_isSubscribe = isSubscribe;
|
||
|
_subcribeTime = subcribeTime;
|
||
|
_sendTime = sendTime;
|
||
|
_confirmTime = confirmTime;
|
||
|
_returnMoneyTime = returnMoneyTime;
|
||
|
_notes = notes;
|
||
|
_prepayId = prepayId;
|
||
|
_payTime = payTime;
|
||
|
_payChannel = payChannel;
|
||
|
_payNum = payNum;
|
||
|
_promotionId = promotionId;
|
||
|
_actId = actId;
|
||
|
_couponId = couponId;
|
||
|
_isDelete = isDelete;
|
||
|
_isTakeOut = isTakeOut;
|
||
|
_batch = batch;
|
||
|
_orderDiscountPrice = orderDiscountPrice;
|
||
|
_dishesDiscountPrice = dishesDiscountPrice;
|
||
|
_orderPercentPrice = orderPercentPrice;
|
||
|
_activityNoPrice = activityNoPrice;
|
||
|
_activityDiscountPrice = activityDiscountPrice;
|
||
|
_uniqueDiscountType = uniqueDiscountType;
|
||
|
_totalDiscountPrice = totalDiscountPrice;
|
||
|
_vipDayDiscountPrice = vipDayDiscountPrice;
|
||
|
_orderSource = orderSource;
|
||
|
_benefitDiscountAmount = benefitDiscountAmount;
|
||
|
_vipDiscountPrice = vipDiscountPrice;
|
||
|
_orderMerge = orderMerge;
|
||
|
_canSettlement = canSettlement;
|
||
|
_endRefundTime = endRefundTime;
|
||
|
_orderProductList = orderProductList;
|
||
|
_businessType = businessType;
|
||
|
_paySum = paySum;
|
||
|
_useInvoice = useInvoice;
|
||
|
_payedPrice = payedPrice;
|
||
|
_finalPayPrice = finalPayPrice;
|
||
|
_isEnableSubscribePay = isEnableSubscribePay;
|
||
|
_invoiceId = invoiceId;
|
||
|
_invoiceState = invoiceState;
|
||
|
_posType = posType;
|
||
|
}
|
||
|
|
||
|
Records.fromJson(dynamic json) {
|
||
|
_id = json['id'];
|
||
|
_createTime = json['createTime'];
|
||
|
_createUser = json['createUser'];
|
||
|
_updateTime = json['updateTime'];
|
||
|
_updateUser = json['updateUser'];
|
||
|
_tenantCode = json['tenantCode'];
|
||
|
_storeId = json['storeId'];
|
||
|
_storeName = json['storeName'];
|
||
|
_tableId = json['tableId'];
|
||
|
_responsible = json['responsible'];
|
||
|
_orderType = json['orderType'];
|
||
|
_clearTable = json['clearTable'];
|
||
|
_mid = json['mid'];
|
||
|
_parentId = json['parentId'];
|
||
|
_parentCode = json['parentCode'];
|
||
|
_orderCode = json['orderCode'];
|
||
|
_dayFlowCode = json['dayFlowCode'];
|
||
|
_orderStatus = json['orderStatus'];
|
||
|
_sendStatus = json['sendStatus'];
|
||
|
_payStatus = json['payStatus'];
|
||
|
_haveTimes = json['haveTimes'];
|
||
|
_invoicing = json['invoicing'];
|
||
|
_memberAccount = json['memberAccount'];
|
||
|
_owner = json['owner'];
|
||
|
_logisticsId = json['logisticsId'];
|
||
|
_shipperCode = json['shipperCode'];
|
||
|
_logisticsName = json['logisticsName'];
|
||
|
_logisticsNum = json['logisticsNum'];
|
||
|
_logisticsCase = json['logisticsCase'];
|
||
|
_refundStatus = json['refundStatus'];
|
||
|
_addressExt = json['addressExt'];
|
||
|
_contactsExtList = json['contactsExtList'];
|
||
|
_postFee = json['postFee'];
|
||
|
_totalPackagingFee = json['totalPackagingFee'];
|
||
|
_couponSubPrice = json['couponSubPrice'];
|
||
|
_removeDecimal = json['removeDecimal'];
|
||
|
_isSubscribe = json['isSubscribe'];
|
||
|
_subcribeTime = json['subcribeTime'];
|
||
|
_sendTime = json['sendTime'];
|
||
|
_confirmTime = json['confirmTime'];
|
||
|
_returnMoneyTime = json['returnMoneyTime'];
|
||
|
_notes = json['notes'];
|
||
|
_prepayId = json['prepayId'];
|
||
|
_payTime = json['payTime'];
|
||
|
_payChannel = json['payChannel'];
|
||
|
_payNum = json['payNum'];
|
||
|
_promotionId = json['promotionId'];
|
||
|
_actId = json['actId'];
|
||
|
_couponId = json['couponId'];
|
||
|
_isDelete = json['isDelete'];
|
||
|
_isTakeOut = json['isTakeOut'];
|
||
|
_batch = json['batch'];
|
||
|
_orderDiscountPrice = json['orderDiscountPrice'];
|
||
|
_dishesDiscountPrice = json['dishesDiscountPrice'];
|
||
|
_orderPercentPrice = json['orderPercentPrice'];
|
||
|
_activityNoPrice = json['activityNoPrice'];
|
||
|
_activityDiscountPrice = json['activityDiscountPrice'];
|
||
|
_uniqueDiscountType = json['uniqueDiscountType'];
|
||
|
_totalDiscountPrice = json['totalDiscountPrice'];
|
||
|
_vipDayDiscountPrice = json['vipDayDiscountPrice'];
|
||
|
_orderSource = json['orderSource'];
|
||
|
_benefitDiscountAmount = json['benefitDiscountAmount'];
|
||
|
_vipDiscountPrice = json['vipDiscountPrice'];
|
||
|
_orderMerge = json['orderMerge'];
|
||
|
_canSettlement = json['canSettlement'];
|
||
|
_endRefundTime = json['endRefundTime'];
|
||
|
if (json['orderProductList'] != null) {
|
||
|
_orderProductList = [];
|
||
|
json['orderProductList'].forEach((v) {
|
||
|
_orderProductList.add(OrderProductList.fromJson(v));
|
||
|
});
|
||
|
}
|
||
|
_businessType = json['businessType'];
|
||
|
_paySum = json['paySum'];
|
||
|
_useInvoice = json['useInvoice'];
|
||
|
_payedPrice = json['payedPrice'];
|
||
|
_finalPayPrice = json['finalPayPrice'];
|
||
|
_isEnableSubscribePay = json['isEnableSubscribePay'];
|
||
|
_invoiceId = json['invoiceId'];
|
||
|
_invoiceState = json['invoiceState'];
|
||
|
_posType = json['posType'];
|
||
|
}
|
||
|
String _id;
|
||
|
String _createTime;
|
||
|
dynamic _createUser;
|
||
|
dynamic _updateTime;
|
||
|
dynamic _updateUser;
|
||
|
dynamic _tenantCode;
|
||
|
dynamic _storeId;
|
||
|
String _storeName;
|
||
|
dynamic _tableId;
|
||
|
dynamic _responsible;
|
||
|
dynamic _orderType;
|
||
|
dynamic _clearTable;
|
||
|
dynamic _mid;
|
||
|
String _parentId;
|
||
|
dynamic _parentCode;
|
||
|
dynamic _orderCode;
|
||
|
dynamic _dayFlowCode;
|
||
|
dynamic _orderStatus;
|
||
|
dynamic _sendStatus;
|
||
|
num _payStatus;
|
||
|
dynamic _haveTimes;
|
||
|
dynamic _invoicing;
|
||
|
dynamic _memberAccount;
|
||
|
dynamic _owner;
|
||
|
dynamic _logisticsId;
|
||
|
dynamic _shipperCode;
|
||
|
dynamic _logisticsName;
|
||
|
dynamic _logisticsNum;
|
||
|
dynamic _logisticsCase;
|
||
|
dynamic _refundStatus;
|
||
|
dynamic _addressExt;
|
||
|
dynamic _contactsExtList;
|
||
|
String _postFee;
|
||
|
String _totalPackagingFee;
|
||
|
String _couponSubPrice;
|
||
|
String _removeDecimal;
|
||
|
dynamic _isSubscribe;
|
||
|
dynamic _subcribeTime;
|
||
|
dynamic _sendTime;
|
||
|
dynamic _confirmTime;
|
||
|
dynamic _returnMoneyTime;
|
||
|
dynamic _notes;
|
||
|
dynamic _prepayId;
|
||
|
dynamic _payTime;
|
||
|
dynamic _payChannel;
|
||
|
dynamic _payNum;
|
||
|
dynamic _promotionId;
|
||
|
dynamic _actId;
|
||
|
dynamic _couponId;
|
||
|
dynamic _isDelete;
|
||
|
dynamic _isTakeOut;
|
||
|
num _batch;
|
||
|
String _orderDiscountPrice;
|
||
|
String _dishesDiscountPrice;
|
||
|
String _orderPercentPrice;
|
||
|
String _activityNoPrice;
|
||
|
String _activityDiscountPrice;
|
||
|
dynamic _uniqueDiscountType;
|
||
|
String _totalDiscountPrice;
|
||
|
String _vipDayDiscountPrice;
|
||
|
dynamic _orderSource;
|
||
|
String _benefitDiscountAmount;
|
||
|
String _vipDiscountPrice;
|
||
|
dynamic _orderMerge;
|
||
|
dynamic _canSettlement;
|
||
|
dynamic _endRefundTime;
|
||
|
List<OrderProductList> _orderProductList;
|
||
|
dynamic _businessType;
|
||
|
String _paySum;
|
||
|
dynamic _useInvoice;
|
||
|
String _payedPrice;
|
||
|
String _finalPayPrice;
|
||
|
dynamic _isEnableSubscribePay;
|
||
|
dynamic _invoiceId;
|
||
|
dynamic _invoiceState;
|
||
|
dynamic _posType;
|
||
|
Records copyWith({ String id,
|
||
|
String createTime,
|
||
|
dynamic createUser,
|
||
|
dynamic updateTime,
|
||
|
dynamic updateUser,
|
||
|
dynamic tenantCode,
|
||
|
dynamic storeId,
|
||
|
String storeName,
|
||
|
dynamic tableId,
|
||
|
dynamic responsible,
|
||
|
dynamic orderType,
|
||
|
dynamic clearTable,
|
||
|
dynamic mid,
|
||
|
String parentId,
|
||
|
dynamic parentCode,
|
||
|
dynamic orderCode,
|
||
|
dynamic dayFlowCode,
|
||
|
dynamic orderStatus,
|
||
|
dynamic sendStatus,
|
||
|
num payStatus,
|
||
|
dynamic haveTimes,
|
||
|
dynamic invoicing,
|
||
|
dynamic memberAccount,
|
||
|
dynamic owner,
|
||
|
dynamic logisticsId,
|
||
|
dynamic shipperCode,
|
||
|
dynamic logisticsName,
|
||
|
dynamic logisticsNum,
|
||
|
dynamic logisticsCase,
|
||
|
dynamic refundStatus,
|
||
|
dynamic addressExt,
|
||
|
dynamic contactsExtList,
|
||
|
String postFee,
|
||
|
String totalPackagingFee,
|
||
|
String couponSubPrice,
|
||
|
String removeDecimal,
|
||
|
dynamic isSubscribe,
|
||
|
dynamic subcribeTime,
|
||
|
dynamic sendTime,
|
||
|
dynamic confirmTime,
|
||
|
dynamic returnMoneyTime,
|
||
|
dynamic notes,
|
||
|
dynamic prepayId,
|
||
|
dynamic payTime,
|
||
|
dynamic payChannel,
|
||
|
dynamic payNum,
|
||
|
dynamic promotionId,
|
||
|
dynamic actId,
|
||
|
dynamic couponId,
|
||
|
dynamic isDelete,
|
||
|
dynamic isTakeOut,
|
||
|
num batch,
|
||
|
String orderDiscountPrice,
|
||
|
String dishesDiscountPrice,
|
||
|
String orderPercentPrice,
|
||
|
String activityNoPrice,
|
||
|
String activityDiscountPrice,
|
||
|
dynamic uniqueDiscountType,
|
||
|
String totalDiscountPrice,
|
||
|
String vipDayDiscountPrice,
|
||
|
dynamic orderSource,
|
||
|
String benefitDiscountAmount,
|
||
|
String vipDiscountPrice,
|
||
|
dynamic orderMerge,
|
||
|
dynamic canSettlement,
|
||
|
dynamic endRefundTime,
|
||
|
List<OrderProductList> orderProductList,
|
||
|
dynamic businessType,
|
||
|
String paySum,
|
||
|
dynamic useInvoice,
|
||
|
String payedPrice,
|
||
|
String finalPayPrice,
|
||
|
dynamic isEnableSubscribePay,
|
||
|
dynamic invoiceId,
|
||
|
dynamic invoiceState,
|
||
|
dynamic posType,
|
||
|
}) => Records( id: id ?? _id,
|
||
|
createTime: createTime ?? _createTime,
|
||
|
createUser: createUser ?? _createUser,
|
||
|
updateTime: updateTime ?? _updateTime,
|
||
|
updateUser: updateUser ?? _updateUser,
|
||
|
tenantCode: tenantCode ?? _tenantCode,
|
||
|
storeId: storeId ?? _storeId,
|
||
|
storeName: storeName ?? _storeName,
|
||
|
tableId: tableId ?? _tableId,
|
||
|
responsible: responsible ?? _responsible,
|
||
|
orderType: orderType ?? _orderType,
|
||
|
clearTable: clearTable ?? _clearTable,
|
||
|
mid: mid ?? _mid,
|
||
|
parentId: parentId ?? _parentId,
|
||
|
parentCode: parentCode ?? _parentCode,
|
||
|
orderCode: orderCode ?? _orderCode,
|
||
|
dayFlowCode: dayFlowCode ?? _dayFlowCode,
|
||
|
orderStatus: orderStatus ?? _orderStatus,
|
||
|
sendStatus: sendStatus ?? _sendStatus,
|
||
|
payStatus: payStatus ?? _payStatus,
|
||
|
haveTimes: haveTimes ?? _haveTimes,
|
||
|
invoicing: invoicing ?? _invoicing,
|
||
|
memberAccount: memberAccount ?? _memberAccount,
|
||
|
owner: owner ?? _owner,
|
||
|
logisticsId: logisticsId ?? _logisticsId,
|
||
|
shipperCode: shipperCode ?? _shipperCode,
|
||
|
logisticsName: logisticsName ?? _logisticsName,
|
||
|
logisticsNum: logisticsNum ?? _logisticsNum,
|
||
|
logisticsCase: logisticsCase ?? _logisticsCase,
|
||
|
refundStatus: refundStatus ?? _refundStatus,
|
||
|
addressExt: addressExt ?? _addressExt,
|
||
|
contactsExtList: contactsExtList ?? _contactsExtList,
|
||
|
postFee: postFee ?? _postFee,
|
||
|
totalPackagingFee: totalPackagingFee ?? _totalPackagingFee,
|
||
|
couponSubPrice: couponSubPrice ?? _couponSubPrice,
|
||
|
removeDecimal: removeDecimal ?? _removeDecimal,
|
||
|
isSubscribe: isSubscribe ?? _isSubscribe,
|
||
|
subcribeTime: subcribeTime ?? _subcribeTime,
|
||
|
sendTime: sendTime ?? _sendTime,
|
||
|
confirmTime: confirmTime ?? _confirmTime,
|
||
|
returnMoneyTime: returnMoneyTime ?? _returnMoneyTime,
|
||
|
notes: notes ?? _notes,
|
||
|
prepayId: prepayId ?? _prepayId,
|
||
|
payTime: payTime ?? _payTime,
|
||
|
payChannel: payChannel ?? _payChannel,
|
||
|
payNum: payNum ?? _payNum,
|
||
|
promotionId: promotionId ?? _promotionId,
|
||
|
actId: actId ?? _actId,
|
||
|
couponId: couponId ?? _couponId,
|
||
|
isDelete: isDelete ?? _isDelete,
|
||
|
isTakeOut: isTakeOut ?? _isTakeOut,
|
||
|
batch: batch ?? _batch,
|
||
|
orderDiscountPrice: orderDiscountPrice ?? _orderDiscountPrice,
|
||
|
dishesDiscountPrice: dishesDiscountPrice ?? _dishesDiscountPrice,
|
||
|
orderPercentPrice: orderPercentPrice ?? _orderPercentPrice,
|
||
|
activityNoPrice: activityNoPrice ?? _activityNoPrice,
|
||
|
activityDiscountPrice: activityDiscountPrice ?? _activityDiscountPrice,
|
||
|
uniqueDiscountType: uniqueDiscountType ?? _uniqueDiscountType,
|
||
|
totalDiscountPrice: totalDiscountPrice ?? _totalDiscountPrice,
|
||
|
vipDayDiscountPrice: vipDayDiscountPrice ?? _vipDayDiscountPrice,
|
||
|
orderSource: orderSource ?? _orderSource,
|
||
|
benefitDiscountAmount: benefitDiscountAmount ?? _benefitDiscountAmount,
|
||
|
vipDiscountPrice: vipDiscountPrice ?? _vipDiscountPrice,
|
||
|
orderMerge: orderMerge ?? _orderMerge,
|
||
|
canSettlement: canSettlement ?? _canSettlement,
|
||
|
endRefundTime: endRefundTime ?? _endRefundTime,
|
||
|
orderProductList: orderProductList ?? _orderProductList,
|
||
|
businessType: businessType ?? _businessType,
|
||
|
paySum: paySum ?? _paySum,
|
||
|
useInvoice: useInvoice ?? _useInvoice,
|
||
|
payedPrice: payedPrice ?? _payedPrice,
|
||
|
finalPayPrice: finalPayPrice ?? _finalPayPrice,
|
||
|
isEnableSubscribePay: isEnableSubscribePay ?? _isEnableSubscribePay,
|
||
|
invoiceId: invoiceId ?? _invoiceId,
|
||
|
invoiceState: invoiceState ?? _invoiceState,
|
||
|
posType: posType ?? _posType,
|
||
|
);
|
||
|
String get id => _id;
|
||
|
String get createTime => _createTime;
|
||
|
dynamic get createUser => _createUser;
|
||
|
dynamic get updateTime => _updateTime;
|
||
|
dynamic get updateUser => _updateUser;
|
||
|
dynamic get tenantCode => _tenantCode;
|
||
|
dynamic get storeId => _storeId;
|
||
|
String get storeName => _storeName;
|
||
|
dynamic get tableId => _tableId;
|
||
|
dynamic get responsible => _responsible;
|
||
|
dynamic get orderType => _orderType;
|
||
|
dynamic get clearTable => _clearTable;
|
||
|
dynamic get mid => _mid;
|
||
|
String get parentId => _parentId;
|
||
|
dynamic get parentCode => _parentCode;
|
||
|
dynamic get orderCode => _orderCode;
|
||
|
dynamic get dayFlowCode => _dayFlowCode;
|
||
|
dynamic get orderStatus => _orderStatus;
|
||
|
dynamic get sendStatus => _sendStatus;
|
||
|
num get payStatus => _payStatus;
|
||
|
dynamic get haveTimes => _haveTimes;
|
||
|
dynamic get invoicing => _invoicing;
|
||
|
dynamic get memberAccount => _memberAccount;
|
||
|
dynamic get owner => _owner;
|
||
|
dynamic get logisticsId => _logisticsId;
|
||
|
dynamic get shipperCode => _shipperCode;
|
||
|
dynamic get logisticsName => _logisticsName;
|
||
|
dynamic get logisticsNum => _logisticsNum;
|
||
|
dynamic get logisticsCase => _logisticsCase;
|
||
|
dynamic get refundStatus => _refundStatus;
|
||
|
dynamic get addressExt => _addressExt;
|
||
|
dynamic get contactsExtList => _contactsExtList;
|
||
|
String get postFee => _postFee;
|
||
|
String get totalPackagingFee => _totalPackagingFee;
|
||
|
String get couponSubPrice => _couponSubPrice;
|
||
|
String get removeDecimal => _removeDecimal;
|
||
|
dynamic get isSubscribe => _isSubscribe;
|
||
|
dynamic get subcribeTime => _subcribeTime;
|
||
|
dynamic get sendTime => _sendTime;
|
||
|
dynamic get confirmTime => _confirmTime;
|
||
|
dynamic get returnMoneyTime => _returnMoneyTime;
|
||
|
dynamic get notes => _notes;
|
||
|
dynamic get prepayId => _prepayId;
|
||
|
dynamic get payTime => _payTime;
|
||
|
dynamic get payChannel => _payChannel;
|
||
|
dynamic get payNum => _payNum;
|
||
|
dynamic get promotionId => _promotionId;
|
||
|
dynamic get actId => _actId;
|
||
|
dynamic get couponId => _couponId;
|
||
|
dynamic get isDelete => _isDelete;
|
||
|
dynamic get isTakeOut => _isTakeOut;
|
||
|
num get batch => _batch;
|
||
|
String get orderDiscountPrice => _orderDiscountPrice;
|
||
|
String get dishesDiscountPrice => _dishesDiscountPrice;
|
||
|
String get orderPercentPrice => _orderPercentPrice;
|
||
|
String get activityNoPrice => _activityNoPrice;
|
||
|
String get activityDiscountPrice => _activityDiscountPrice;
|
||
|
dynamic get uniqueDiscountType => _uniqueDiscountType;
|
||
|
String get totalDiscountPrice => _totalDiscountPrice;
|
||
|
String get vipDayDiscountPrice => _vipDayDiscountPrice;
|
||
|
dynamic get orderSource => _orderSource;
|
||
|
String get benefitDiscountAmount => _benefitDiscountAmount;
|
||
|
String get vipDiscountPrice => _vipDiscountPrice;
|
||
|
dynamic get orderMerge => _orderMerge;
|
||
|
dynamic get canSettlement => _canSettlement;
|
||
|
dynamic get endRefundTime => _endRefundTime;
|
||
|
List<OrderProductList> get orderProductList => _orderProductList;
|
||
|
dynamic get businessType => _businessType;
|
||
|
String get paySum => _paySum;
|
||
|
dynamic get useInvoice => _useInvoice;
|
||
|
String get payedPrice => _payedPrice;
|
||
|
String get finalPayPrice => _finalPayPrice;
|
||
|
dynamic get isEnableSubscribePay => _isEnableSubscribePay;
|
||
|
dynamic get invoiceId => _invoiceId;
|
||
|
dynamic get invoiceState => _invoiceState;
|
||
|
dynamic get posType => _posType;
|
||
|
bool _isSelect = false;
|
||
|
|
||
|
bool get isSelect => _isSelect;
|
||
|
|
||
|
set isSelect(bool value) {
|
||
|
_isSelect = value;
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['id'] = _id;
|
||
|
map['createTime'] = _createTime;
|
||
|
map['createUser'] = _createUser;
|
||
|
map['updateTime'] = _updateTime;
|
||
|
map['updateUser'] = _updateUser;
|
||
|
map['tenantCode'] = _tenantCode;
|
||
|
map['storeId'] = _storeId;
|
||
|
map['storeName'] = _storeName;
|
||
|
map['tableId'] = _tableId;
|
||
|
map['responsible'] = _responsible;
|
||
|
map['orderType'] = _orderType;
|
||
|
map['clearTable'] = _clearTable;
|
||
|
map['mid'] = _mid;
|
||
|
map['parentId'] = _parentId;
|
||
|
map['parentCode'] = _parentCode;
|
||
|
map['orderCode'] = _orderCode;
|
||
|
map['dayFlowCode'] = _dayFlowCode;
|
||
|
map['orderStatus'] = _orderStatus;
|
||
|
map['sendStatus'] = _sendStatus;
|
||
|
map['payStatus'] = _payStatus;
|
||
|
map['haveTimes'] = _haveTimes;
|
||
|
map['invoicing'] = _invoicing;
|
||
|
map['memberAccount'] = _memberAccount;
|
||
|
map['owner'] = _owner;
|
||
|
map['logisticsId'] = _logisticsId;
|
||
|
map['shipperCode'] = _shipperCode;
|
||
|
map['logisticsName'] = _logisticsName;
|
||
|
map['logisticsNum'] = _logisticsNum;
|
||
|
map['logisticsCase'] = _logisticsCase;
|
||
|
map['refundStatus'] = _refundStatus;
|
||
|
map['addressExt'] = _addressExt;
|
||
|
map['contactsExtList'] = _contactsExtList;
|
||
|
map['postFee'] = _postFee;
|
||
|
map['totalPackagingFee'] = _totalPackagingFee;
|
||
|
map['couponSubPrice'] = _couponSubPrice;
|
||
|
map['removeDecimal'] = _removeDecimal;
|
||
|
map['isSubscribe'] = _isSubscribe;
|
||
|
map['subcribeTime'] = _subcribeTime;
|
||
|
map['sendTime'] = _sendTime;
|
||
|
map['confirmTime'] = _confirmTime;
|
||
|
map['returnMoneyTime'] = _returnMoneyTime;
|
||
|
map['notes'] = _notes;
|
||
|
map['prepayId'] = _prepayId;
|
||
|
map['payTime'] = _payTime;
|
||
|
map['payChannel'] = _payChannel;
|
||
|
map['payNum'] = _payNum;
|
||
|
map['promotionId'] = _promotionId;
|
||
|
map['actId'] = _actId;
|
||
|
map['couponId'] = _couponId;
|
||
|
map['isDelete'] = _isDelete;
|
||
|
map['isTakeOut'] = _isTakeOut;
|
||
|
map['batch'] = _batch;
|
||
|
map['orderDiscountPrice'] = _orderDiscountPrice;
|
||
|
map['dishesDiscountPrice'] = _dishesDiscountPrice;
|
||
|
map['orderPercentPrice'] = _orderPercentPrice;
|
||
|
map['activityNoPrice'] = _activityNoPrice;
|
||
|
map['activityDiscountPrice'] = _activityDiscountPrice;
|
||
|
map['uniqueDiscountType'] = _uniqueDiscountType;
|
||
|
map['totalDiscountPrice'] = _totalDiscountPrice;
|
||
|
map['vipDayDiscountPrice'] = _vipDayDiscountPrice;
|
||
|
map['orderSource'] = _orderSource;
|
||
|
map['benefitDiscountAmount'] = _benefitDiscountAmount;
|
||
|
map['vipDiscountPrice'] = _vipDiscountPrice;
|
||
|
map['orderMerge'] = _orderMerge;
|
||
|
map['canSettlement'] = _canSettlement;
|
||
|
map['endRefundTime'] = _endRefundTime;
|
||
|
if (_orderProductList != null) {
|
||
|
map['orderProductList'] = _orderProductList.map((v) => v.toJson()).toList();
|
||
|
}
|
||
|
map['businessType'] = _businessType;
|
||
|
map['paySum'] = _paySum;
|
||
|
map['useInvoice'] = _useInvoice;
|
||
|
map['payedPrice'] = _payedPrice;
|
||
|
map['finalPayPrice'] = _finalPayPrice;
|
||
|
map['isEnableSubscribePay'] = _isEnableSubscribePay;
|
||
|
map['invoiceId'] = _invoiceId;
|
||
|
map['invoiceState'] = _invoiceState;
|
||
|
map['posType'] = _posType;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/// id : "1815299100225044480"
|
||
|
/// createTime : "2024-07-22 16:13:27"
|
||
|
/// createUser : "1428617748061093888"
|
||
|
/// updateTime : "2024-07-22 16:13:27"
|
||
|
/// updateUser : "1428617748061093888"
|
||
|
/// tenantCode : "1175"
|
||
|
/// storeId : "1432164681279078400"
|
||
|
/// orderId : "1815299099583315968"
|
||
|
/// actInfo : null
|
||
|
/// productId : "1711580655285960704"
|
||
|
/// times : null
|
||
|
/// usedTimes : null
|
||
|
/// productName : "桂花红豆包"
|
||
|
/// skuId : "1711580655323709440"
|
||
|
/// skuNameStr : ""
|
||
|
/// skuImg : ""
|
||
|
/// buyNum : 2
|
||
|
/// refundNum : 0
|
||
|
/// type : 0
|
||
|
/// reason : null
|
||
|
/// weight : 0.0
|
||
|
/// applyPrice : "8.00"
|
||
|
/// sellPrice : "8.00"
|
||
|
/// postPay : "0.00"
|
||
|
/// isDelete : 0
|
||
|
/// discountAmount : "0.00"
|
||
|
/// discountPercent : 100
|
||
|
/// status : true
|
||
|
/// batch : 1
|
||
|
/// deliveries : 0
|
||
|
/// ticketType : ""
|
||
|
/// ticketDays : "0"
|
||
|
/// takeType : null
|
||
|
/// skuTickets : []
|
||
|
/// ticketStyle : ""
|
||
|
/// setMealDataList : []
|
||
|
/// packagingFee : "0.00"
|
||
|
|
||
|
class OrderProductList {
|
||
|
OrderProductList({
|
||
|
String id,
|
||
|
String createTime,
|
||
|
String createUser,
|
||
|
String updateTime,
|
||
|
String updateUser,
|
||
|
String tenantCode,
|
||
|
String storeId,
|
||
|
String orderId,
|
||
|
dynamic actInfo,
|
||
|
String productId,
|
||
|
dynamic times,
|
||
|
dynamic usedTimes,
|
||
|
String productName,
|
||
|
String skuId,
|
||
|
String skuNameStr,
|
||
|
String skuImg,
|
||
|
num buyNum,
|
||
|
num refundNum,
|
||
|
num type,
|
||
|
dynamic reason,
|
||
|
num weight,
|
||
|
String applyPrice,
|
||
|
String sellPrice,
|
||
|
String postPay,
|
||
|
num isDelete,
|
||
|
String discountAmount,
|
||
|
num discountPercent,
|
||
|
bool status,
|
||
|
num batch,
|
||
|
num deliveries,
|
||
|
String ticketType,
|
||
|
String ticketDays,
|
||
|
dynamic takeType,
|
||
|
List<dynamic> skuTickets,
|
||
|
String ticketStyle,
|
||
|
List<dynamic> setMealDataList,
|
||
|
String packagingFee,}){
|
||
|
_id = id;
|
||
|
_createTime = createTime;
|
||
|
_createUser = createUser;
|
||
|
_updateTime = updateTime;
|
||
|
_updateUser = updateUser;
|
||
|
_tenantCode = tenantCode;
|
||
|
_storeId = storeId;
|
||
|
_orderId = orderId;
|
||
|
_actInfo = actInfo;
|
||
|
_productId = productId;
|
||
|
_times = times;
|
||
|
_usedTimes = usedTimes;
|
||
|
_productName = productName;
|
||
|
_skuId = skuId;
|
||
|
_skuNameStr = skuNameStr;
|
||
|
_skuImg = skuImg;
|
||
|
_buyNum = buyNum;
|
||
|
_refundNum = refundNum;
|
||
|
_type = type;
|
||
|
_reason = reason;
|
||
|
_weight = weight;
|
||
|
_applyPrice = applyPrice;
|
||
|
_sellPrice = sellPrice;
|
||
|
_postPay = postPay;
|
||
|
_isDelete = isDelete;
|
||
|
_discountAmount = discountAmount;
|
||
|
_discountPercent = discountPercent;
|
||
|
_status = status;
|
||
|
_batch = batch;
|
||
|
_deliveries = deliveries;
|
||
|
_ticketType = ticketType;
|
||
|
_ticketDays = ticketDays;
|
||
|
_takeType = takeType;
|
||
|
_skuTickets = skuTickets;
|
||
|
_ticketStyle = ticketStyle;
|
||
|
_setMealDataList = setMealDataList;
|
||
|
_packagingFee = packagingFee;
|
||
|
}
|
||
|
|
||
|
OrderProductList.fromJson(dynamic json) {
|
||
|
_id = json['id'];
|
||
|
_createTime = json['createTime'];
|
||
|
_createUser = json['createUser'];
|
||
|
_updateTime = json['updateTime'];
|
||
|
_updateUser = json['updateUser'];
|
||
|
_tenantCode = json['tenantCode'];
|
||
|
_storeId = json['storeId'];
|
||
|
_orderId = json['orderId'];
|
||
|
_actInfo = json['actInfo'];
|
||
|
_productId = json['productId'];
|
||
|
_times = json['times'];
|
||
|
_usedTimes = json['usedTimes'];
|
||
|
_productName = json['productName'];
|
||
|
_skuId = json['skuId'];
|
||
|
_skuNameStr = json['skuNameStr'];
|
||
|
_skuImg = json['skuImg'];
|
||
|
_buyNum = json['buyNum'];
|
||
|
_refundNum = json['refundNum'];
|
||
|
_type = json['type'];
|
||
|
_reason = json['reason'];
|
||
|
_weight = json['weight'];
|
||
|
_applyPrice = json['applyPrice'];
|
||
|
_sellPrice = json['sellPrice'];
|
||
|
_postPay = json['postPay'];
|
||
|
_isDelete = json['isDelete'];
|
||
|
_discountAmount = json['discountAmount'];
|
||
|
_discountPercent = json['discountPercent'];
|
||
|
_status = json['status'];
|
||
|
_batch = json['batch'];
|
||
|
_deliveries = json['deliveries'];
|
||
|
_ticketType = json['ticketType'];
|
||
|
_ticketDays = json['ticketDays'];
|
||
|
_takeType = json['takeType'];
|
||
|
if (json['skuTickets'] != null) {
|
||
|
_skuTickets = [];
|
||
|
// json['skuTickets'].forEach((v) {
|
||
|
// _skuTickets.add(Dynamic.fromJson(v));
|
||
|
// });
|
||
|
}
|
||
|
_ticketStyle = json['ticketStyle'];
|
||
|
if (json['setMealDataList'] != null) {
|
||
|
_setMealDataList = [];
|
||
|
// json['setMealDataList'].forEach((v) {
|
||
|
// _setMealDataList.add(Dynamic.fromJson(v));
|
||
|
// });
|
||
|
}
|
||
|
_packagingFee = json['packagingFee'];
|
||
|
}
|
||
|
String _id;
|
||
|
String _createTime;
|
||
|
String _createUser;
|
||
|
String _updateTime;
|
||
|
String _updateUser;
|
||
|
String _tenantCode;
|
||
|
String _storeId;
|
||
|
String _orderId;
|
||
|
dynamic _actInfo;
|
||
|
String _productId;
|
||
|
dynamic _times;
|
||
|
dynamic _usedTimes;
|
||
|
String _productName;
|
||
|
String _skuId;
|
||
|
String _skuNameStr;
|
||
|
String _skuImg;
|
||
|
num _buyNum;
|
||
|
num _refundNum;
|
||
|
num _type;
|
||
|
dynamic _reason;
|
||
|
num _weight;
|
||
|
String _applyPrice;
|
||
|
String _sellPrice;
|
||
|
String _postPay;
|
||
|
num _isDelete;
|
||
|
String _discountAmount;
|
||
|
num _discountPercent;
|
||
|
bool _status;
|
||
|
num _batch;
|
||
|
num _deliveries;
|
||
|
String _ticketType;
|
||
|
String _ticketDays;
|
||
|
dynamic _takeType;
|
||
|
List<dynamic> _skuTickets;
|
||
|
String _ticketStyle;
|
||
|
List<dynamic> _setMealDataList;
|
||
|
String _packagingFee;
|
||
|
OrderProductList copyWith({ String id,
|
||
|
String createTime,
|
||
|
String createUser,
|
||
|
String updateTime,
|
||
|
String updateUser,
|
||
|
String tenantCode,
|
||
|
String storeId,
|
||
|
String orderId,
|
||
|
dynamic actInfo,
|
||
|
String productId,
|
||
|
dynamic times,
|
||
|
dynamic usedTimes,
|
||
|
String productName,
|
||
|
String skuId,
|
||
|
String skuNameStr,
|
||
|
String skuImg,
|
||
|
num buyNum,
|
||
|
num refundNum,
|
||
|
num type,
|
||
|
dynamic reason,
|
||
|
num weight,
|
||
|
String applyPrice,
|
||
|
String sellPrice,
|
||
|
String postPay,
|
||
|
num isDelete,
|
||
|
String discountAmount,
|
||
|
num discountPercent,
|
||
|
bool status,
|
||
|
num batch,
|
||
|
num deliveries,
|
||
|
String ticketType,
|
||
|
String ticketDays,
|
||
|
dynamic takeType,
|
||
|
List<dynamic> skuTickets,
|
||
|
String ticketStyle,
|
||
|
List<dynamic> setMealDataList,
|
||
|
String packagingFee,
|
||
|
}) => OrderProductList( id: id ?? _id,
|
||
|
createTime: createTime ?? _createTime,
|
||
|
createUser: createUser ?? _createUser,
|
||
|
updateTime: updateTime ?? _updateTime,
|
||
|
updateUser: updateUser ?? _updateUser,
|
||
|
tenantCode: tenantCode ?? _tenantCode,
|
||
|
storeId: storeId ?? _storeId,
|
||
|
orderId: orderId ?? _orderId,
|
||
|
actInfo: actInfo ?? _actInfo,
|
||
|
productId: productId ?? _productId,
|
||
|
times: times ?? _times,
|
||
|
usedTimes: usedTimes ?? _usedTimes,
|
||
|
productName: productName ?? _productName,
|
||
|
skuId: skuId ?? _skuId,
|
||
|
skuNameStr: skuNameStr ?? _skuNameStr,
|
||
|
skuImg: skuImg ?? _skuImg,
|
||
|
buyNum: buyNum ?? _buyNum,
|
||
|
refundNum: refundNum ?? _refundNum,
|
||
|
type: type ?? _type,
|
||
|
reason: reason ?? _reason,
|
||
|
weight: weight ?? _weight,
|
||
|
applyPrice: applyPrice ?? _applyPrice,
|
||
|
sellPrice: sellPrice ?? _sellPrice,
|
||
|
postPay: postPay ?? _postPay,
|
||
|
isDelete: isDelete ?? _isDelete,
|
||
|
discountAmount: discountAmount ?? _discountAmount,
|
||
|
discountPercent: discountPercent ?? _discountPercent,
|
||
|
status: status ?? _status,
|
||
|
batch: batch ?? _batch,
|
||
|
deliveries: deliveries ?? _deliveries,
|
||
|
ticketType: ticketType ?? _ticketType,
|
||
|
ticketDays: ticketDays ?? _ticketDays,
|
||
|
takeType: takeType ?? _takeType,
|
||
|
skuTickets: skuTickets ?? _skuTickets,
|
||
|
ticketStyle: ticketStyle ?? _ticketStyle,
|
||
|
setMealDataList: setMealDataList ?? _setMealDataList,
|
||
|
packagingFee: packagingFee ?? _packagingFee,
|
||
|
);
|
||
|
String get id => _id;
|
||
|
String get createTime => _createTime;
|
||
|
String get createUser => _createUser;
|
||
|
String get updateTime => _updateTime;
|
||
|
String get updateUser => _updateUser;
|
||
|
String get tenantCode => _tenantCode;
|
||
|
String get storeId => _storeId;
|
||
|
String get orderId => _orderId;
|
||
|
dynamic get actInfo => _actInfo;
|
||
|
String get productId => _productId;
|
||
|
dynamic get times => _times;
|
||
|
dynamic get usedTimes => _usedTimes;
|
||
|
String get productName => _productName;
|
||
|
String get skuId => _skuId;
|
||
|
String get skuNameStr => _skuNameStr;
|
||
|
String get skuImg => _skuImg;
|
||
|
num get buyNum => _buyNum;
|
||
|
num get refundNum => _refundNum;
|
||
|
num get type => _type;
|
||
|
dynamic get reason => _reason;
|
||
|
num get weight => _weight;
|
||
|
String get applyPrice => _applyPrice;
|
||
|
String get sellPrice => _sellPrice;
|
||
|
String get postPay => _postPay;
|
||
|
num get isDelete => _isDelete;
|
||
|
String get discountAmount => _discountAmount;
|
||
|
num get discountPercent => _discountPercent;
|
||
|
bool get status => _status;
|
||
|
num get batch => _batch;
|
||
|
num get deliveries => _deliveries;
|
||
|
String get ticketType => _ticketType;
|
||
|
String get ticketDays => _ticketDays;
|
||
|
dynamic get takeType => _takeType;
|
||
|
List<dynamic> get skuTickets => _skuTickets;
|
||
|
String get ticketStyle => _ticketStyle;
|
||
|
List<dynamic> get setMealDataList => _setMealDataList;
|
||
|
String get packagingFee => _packagingFee;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['id'] = _id;
|
||
|
map['createTime'] = _createTime;
|
||
|
map['createUser'] = _createUser;
|
||
|
map['updateTime'] = _updateTime;
|
||
|
map['updateUser'] = _updateUser;
|
||
|
map['tenantCode'] = _tenantCode;
|
||
|
map['storeId'] = _storeId;
|
||
|
map['orderId'] = _orderId;
|
||
|
map['actInfo'] = _actInfo;
|
||
|
map['productId'] = _productId;
|
||
|
map['times'] = _times;
|
||
|
map['usedTimes'] = _usedTimes;
|
||
|
map['productName'] = _productName;
|
||
|
map['skuId'] = _skuId;
|
||
|
map['skuNameStr'] = _skuNameStr;
|
||
|
map['skuImg'] = _skuImg;
|
||
|
map['buyNum'] = _buyNum;
|
||
|
map['refundNum'] = _refundNum;
|
||
|
map['type'] = _type;
|
||
|
map['reason'] = _reason;
|
||
|
map['weight'] = _weight;
|
||
|
map['applyPrice'] = _applyPrice;
|
||
|
map['sellPrice'] = _sellPrice;
|
||
|
map['postPay'] = _postPay;
|
||
|
map['isDelete'] = _isDelete;
|
||
|
map['discountAmount'] = _discountAmount;
|
||
|
map['discountPercent'] = _discountPercent;
|
||
|
map['status'] = _status;
|
||
|
map['batch'] = _batch;
|
||
|
map['deliveries'] = _deliveries;
|
||
|
map['ticketType'] = _ticketType;
|
||
|
map['ticketDays'] = _ticketDays;
|
||
|
map['takeType'] = _takeType;
|
||
|
if (_skuTickets != null) {
|
||
|
map['skuTickets'] = _skuTickets.map((v) => v.toJson()).toList();
|
||
|
}
|
||
|
map['ticketStyle'] = _ticketStyle;
|
||
|
if (_setMealDataList != null) {
|
||
|
map['setMealDataList'] = _setMealDataList.map((v) => v.toJson()).toList();
|
||
|
}
|
||
|
map['packagingFee'] = _packagingFee;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|