package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 预下单详情请求对象

 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PreOrderDetailRequest对象", description="PreOrderDetailRequest对象")
public class PreOrderDetailRequest {

    @ApiModelProperty(value = "购物车编号，购物车预下单时必填")
    private Long shoppingCartId;

    @ApiModelProperty(value = "商品id（立即购买必填）")
    private Integer productId;

    @ApiModelProperty(value = "商品规格属性id（立即购买、活动购买必填）")
    private Integer attrValueId;

    @ApiModelProperty(value = "商品数量（立即购买、活动购买必填）")
    private Integer productNum;

    @ApiModelProperty(value = "订单编号（再次购买必填）")
    private String orderNo;

    @ApiModelProperty(value = "暂时作废：砍价商品id")
    private Integer bargainId = 0;

    @ApiModelProperty(value = "暂时作废：用户砍价活动id")
    private Integer bargainUserId = 0;

    @ApiModelProperty(value = "暂时作废：拼团商品id")
    private Integer combinationId = 0;

    @ApiModelProperty(value = "暂时作废：拼团团长id")
    private Integer pinkId = 0;

    @ApiModelProperty(value = "暂时作废：秒杀商品id")
    private Integer seckillId = 0;

}
