package com.ecep.contract.model;

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

import java.time.MonthDay;

@Embeddable
@Data
public class HistoryPrice {
    /**
     * 税率，1% =1，100% =100
     */
    private float taxRate;
    /**
     * 税前价格
     */
    private double preTaxPrice;
    /**
     * 税后价格
     */
    private double postTaxPrice;
    /**
     * 12-31, 字符串方式存储
     * {@link com.ecep.contract.manager.ds.MonthDayConverter}
     */
    private MonthDay monthDay;
}
