package com.yonge.cooleshow.biz.dal.vo.res;

import com.yonge.cooleshow.biz.dal.enums.GoodTypeEnum;
import com.yonge.cooleshow.biz.dal.enums.OrderTypeEnum;
import com.yonge.cooleshow.biz.dal.enums.SourceTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author: liweifan
 * @Data: 2022/3/31 16:18
 */
@ApiModel(value = "OrderCheckRes", description = "订单创建业务返回对象")
@Data
public class OrderCreateRes {
    @ApiModelProperty("验证结果")
    private Boolean res;
    @ApiModelProperty("商家id")
    private Long merchId;
    @ApiModelProperty("商品类型:  VIP、开通会员  PRACTICE、趣纠课购买  LIVE、直播课购买 VIDEO、视频课购买 MUSIC、单曲点播")
    private GoodTypeEnum goodType;
    @ApiModelProperty("业务id")
    private Long bizId;
    @ApiModelProperty(value = "业务内容")
    private String bizContent;
    @ApiModelProperty("商品数量 ")
    private Integer goodNum;
    @ApiModelProperty(value = "原价 ")
    private BigDecimal originalPrice;
    @ApiModelProperty(value = "预计价格 ")
    private BigDecimal expectPrice;
    @ApiModelProperty("实际价格 ")
    private BigDecimal actualPrice;
    @ApiModelProperty("优惠金额 ")
    private BigDecimal couponAmount;

    @ApiModelProperty("活动id")
    private Long activityId;

    @ApiModelProperty("奖品id")
    private Long rewardId;

    @ApiModelProperty(value = "业务数据")
    private String bizJson;

    @ApiModelProperty(value = "冗余字段，用于传递参数用")
    private Object bizParam;

    // 透传订单类型
    private OrderTypeEnum orderType;

    // 商品来源
    private SourceTypeEnum sourceType;

}
