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.
78 lines
1.9 KiB
78 lines
1.9 KiB
import 'package:huixiang/data/order_product_vo.dart'; |
|
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/place_order_first.g.dart'; |
|
|
|
@JsonSerializable() |
|
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() |
|
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); |
|
}
|
|
|