package com.ycwl.basic.pricing.dto;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 价格详情（内部计算用）
 */
@Data
public class PriceDetails {
    
    /**
     * 实际计算总金额
     */
    private BigDecimal totalAmount;
    
    /**
     * 原价总金额
     */
    private BigDecimal originalTotalAmount;
    
    public PriceDetails() {
        this.totalAmount = BigDecimal.ZERO;
        this.originalTotalAmount = BigDecimal.ZERO;
    }
    
    public PriceDetails(BigDecimal totalAmount, BigDecimal originalTotalAmount) {
        this.totalAmount = totalAmount;
        this.originalTotalAmount = originalTotalAmount;
    }
}