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.
80 lines
1.9 KiB
80 lines
1.9 KiB
1 month ago
|
import 'package:huixiang/data/order_product_vo.dart';
|
||
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'place_order_first.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class PlaceOrderFirst {
|
||
|
int? cartNum;
|
||
|
dynamic cartSum;
|
||
|
dynamic addressId;
|
||
|
bool? isSubscribe;
|
||
|
int? isTakeOut;
|
||
|
dynamic notes;
|
||
|
dynamic id;
|
||
|
dynamic numberOfPeople;
|
||
|
int? orderSource;
|
||
|
dynamic orderType;
|
||
|
int? orderTypeId;
|
||
|
dynamic parentCode;
|
||
|
dynamic parentId;
|
||
|
int? payChannel;
|
||
|
PromotionInfoDTOBean? promotionInfoDTO;
|
||
|
String? recMobile;
|
||
|
List<OrderProductVO>? orderProductVOList;
|
||
|
List<OrderProductVO>? shoppingCartSkuItemList;
|
||
|
List<dynamic>? skuItemDTOList;
|
||
|
int? source;
|
||
|
String? storeId;
|
||
|
String? subcribeTime;
|
||
|
String? tableId;
|
||
|
|
||
|
PlaceOrderFirst(
|
||
|
{
|
||
|
this.cartNum,
|
||
|
this.cartSum,
|
||
|
this.addressId,
|
||
|
this.isSubscribe,
|
||
|
this.isTakeOut,
|
||
|
this.notes,
|
||
|
this.id,
|
||
|
this.numberOfPeople,
|
||
|
this.orderSource,
|
||
|
this.orderType,
|
||
|
this.orderTypeId,
|
||
|
this.parentCode,
|
||
|
this.parentId,
|
||
|
this.payChannel,
|
||
|
this.promotionInfoDTO,
|
||
|
this.recMobile,
|
||
|
this.orderProductVOList,
|
||
|
this.shoppingCartSkuItemList,
|
||
|
this.skuItemDTOList,
|
||
|
this.source,
|
||
|
this.storeId,
|
||
|
this.subcribeTime,
|
||
|
this.tableId});
|
||
|
|
||
|
factory PlaceOrderFirst.fromJson(Map<String, dynamic> json) =>
|
||
|
_$PlaceOrderFirstFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$PlaceOrderFirstToJson(this);
|
||
|
}
|
||
|
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class PromotionInfoDTOBean {
|
||
|
String? couponId;
|
||
|
String? promotionId;
|
||
|
bool? useVipPrice;
|
||
|
bool? useBenefit;
|
||
|
String? discountType;
|
||
|
|
||
|
PromotionInfoDTOBean({this.couponId, this.promotionId,this.useVipPrice,this.useBenefit,this.discountType});
|
||
|
|
||
|
factory PromotionInfoDTOBean.fromJson(Map<String, dynamic> json) =>
|
||
|
_$PromotionInfoDTOBeanFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$PromotionInfoDTOBeanToJson(this);
|
||
|
}
|