package com.ecep.contract.model;

import java.io.Serializable;
import jakarta.persistence.Embeddable;
import lombok.Data;

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