CompositeMoneyColumn
class CompositeMoneyColumn<T1 : BigDecimal?, T2 : CurrencyUnit?, R : MonetaryAmount?>(val amount: Column<T1>, val currency: Column<T2>, nullable: Boolean = false) : BiCompositeColumn<T1, T2, R>
Represents amount of money and currency using Java Money API. Data is stored using two composite columns.
Author
Vladislav Kisel
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T1 : BigDecimal, T2 : CurrencyUnit, R : MonetaryAmount> CompositeMoneyColumn<T1, T2, R>.nullable(): CompositeMoneyColumn<T1?, T2?, R?>
Marks this CompositeMoneyColumn as nullable.
Link copied to clipboard
Link copied to clipboard