package com.ecep.contract.model;

import jakarta.persistence.Embeddable;
import lombok.Data;

import java.io.Serializable;

@Embeddable
@Data
public class Price implements Serializable {
    /**
     * 税率，1% =1，100% =100
     */
    private float taxRate;
    /**
     * 税前价格
     */
    private double preTaxPrice;
    /**
     * 税后价格
     */
    private double postTaxPrice;
}
