MortgageDto

data class MortgageDto(var mortgageId: String, var customerId: String, var mortgageAmount: AmountDto, var mortgageName: String? = null, var address: AddressDto? = null)

A loan secured by real estate, used to finance property purchases.

Parameters

mortgageId

ID of the mortgage.

customerId

Customer ID of the mortgage holder.

mortgageAmount

The total amount of the mortgage loan.

mortgageName

Mortgage name or description.

address

Address of the real estate by which the mortgage is secured.

Constructors

Link copied to clipboard
constructor(mortgageId: String, customerId: String, mortgageAmount: AmountDto, mortgageName: String? = null, address: AddressDto? = null)

Properties

Link copied to clipboard
@Valid
var address: AddressDto?
Link copied to clipboard
@get:Size(max = 100)
var customerId: String
Link copied to clipboard
Link copied to clipboard
@get:Size(max = 100)
var mortgageId: String
Link copied to clipboard