package com.softwarebr.nunu.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 价格计算
 * @author lilin
 * @date 2020-03-13 10:16:00
 */
@Data
@ApiModel
public class Calculation {

    @ApiModelProperty(value = "订单总价", required = true, example = "")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "活动价格", required = true, example = "")
    private BigDecimal price;

    @ApiModelProperty(value = "订单数量", required = true, example = "")
    private Integer orderAmount;

}
