package com.izouma.dingdong.dto;

import com.izouma.dingdong.enums.PayMethod;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "用户下单")
public class UserOrderDTO {

    //private Long userId;

    @ApiModelProperty(value = "购物车ID", name = "shoppingCartId")
    private Long shoppingCartId;

    @ApiModelProperty(value = "地址ID", name = "addressId")
    private Long addressId;

    @ApiModelProperty(value = "优惠券ID", name = "couponId")
    private Long userCouponId;

    @ApiModelProperty(value = "支付方式", name = "payMethod")
    private PayMethod payMethod;

    @ApiModelProperty(value = "备注", name = "remark")
    private String remark;



//    @ApiModelProperty(value = "商户ID", name = "merchantId")
//    private Long merchantId;

//    @ApiModelProperty(value = "商品规格", name = "goodsSpecs")
//    private List<GoodsSpecDTO> goodsSpecs;
//
//    @ApiModelProperty(value = "包装价格", name = "packingPrice")
//    private BigDecimal packingPrice;
//
//    @ApiModelProperty(value = "配送费", name = "deliveryAmount")
//    private BigDecimal deliveryAmount;

/*    @ApiModelProperty(value = "是否使用优惠券", name = "isCoupon")
    private Boolean isCoupon;*/

//    @ApiModelProperty(value = "优惠券ID", name = "couponId")
//    private Long couponId;
//
//    @ApiModelProperty(value = "满减", name = "fullReduction")
//    private BigDecimal fullReduction;
//
//    @ApiModelProperty(value = "首单", name = "firstBuy")
//    private BigDecimal firstBuy;
//
//    @ApiModelProperty(value = "红包", name = "redBag")
//    private BigDecimal redBag;
//
//    @ApiModelProperty(value = "新用户", name = "newUser")
//    private BigDecimal newUser;
//
//    @ApiModelProperty(value = "总价", name = "total")
//    private BigDecimal total;
//
//    @ApiModelProperty(value = "实付金额", name = "realAmount")
//    private BigDecimal realAmount;
//


}
