package com.ycwl.basic.model.pc.order.req;

import com.ycwl.basic.model.mobile.goods.GoodsDetailVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author：longbinbin
 * @Date：2024/12/3 14:17
 */
@Data
@ApiModel("订单的新增或修改请求参数")
public class OrderAddReq {
    @ApiModelProperty(value = "订单id",hidden = true)
    private Long id;
    @ApiModelProperty(value = "用户id",hidden = true)
    private Long memberId;
    /**
     * 微信openId
     */
    @ApiModelProperty(value = "微信openId", hidden = true)
    private String openid;

    @ApiModelProperty("景区id")
    private Long scenicId;
    /**
     * 价格
     */
    @ApiModelProperty(value = "价格", hidden = true)
    private BigDecimal price;
    /**
     * 实际支付价格
     */
    @ApiModelProperty(value = "实际支付价格",hidden = true)
    private BigDecimal payPrice;
    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;
    /**
     * 推客id
     */
    @ApiModelProperty(value = "推客id",hidden = true)
    private Long brokerId;
    /**
     * 推客优惠码
     */
    @ApiModelProperty(value="推客优惠码",hidden = true)
    private String promoCode;
    @ApiModelProperty(value = "订单商品类型 1成片，2源素材")
    private Integer goodsType;
    @ApiModelProperty("订单商品明细")
    private List<GoodsDetailVO> goodsItemList;
}
