Rename MoneyPrice to AssetPrice

This commit is contained in:
2026-06-11 17:55:35 +02:00
parent f99f378d88
commit 3b24731630
2 changed files with 15 additions and 8 deletions
@@ -0,0 +1,15 @@
package com.r35157.libs.valuetypes.basic;
import org.jetbrains.annotations.NotNull;
import java.math.BigDecimal;
public record AssetPrice(
ΩPriceΩ price,
CurrencyType currencyType
) {
@Override
public @NotNull String toString() {
return price + " " + currencyType();
}
}
@@ -1,8 +0,0 @@
package com.r35157.libs.valuetypes.basic;
import java.math.BigDecimal;
public record MoneyPrice(
ΩPriceΩ price,
CurrencyType currencyType
) { }