CardBalanceDto

data class CardBalanceDto(var year: Int, var month: Int, var balance: AmountDto, var income: AmountDto, var spending: AmountDto)

Balance of a card

Parameters

year

Year of the balance

month

Month of the balance

balance
income
spending

Constructors

Link copied to clipboard
constructor(year: Int, month: Int, balance: AmountDto, income: AmountDto, spending: AmountDto)

Properties

Link copied to clipboard
@Valid
var balance: AmountDto
Link copied to clipboard
@Valid
var income: AmountDto
Link copied to clipboard
@get:Min(value = 1)
@get:Max(value = 12)
var month: Int
Link copied to clipboard
@Valid
var spending: AmountDto
Link copied to clipboard
@get:Min(value = 2000)
@get:Max(value = 2100)
var year: Int