Skip to content

Commit

Permalink
Legg til datoSøknad på bidrag beregning respons (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 authored Sep 2, 2024
1 parent b66f06e commit 91fb69c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data class BidragBeregningRequestDto(
) {
data class HentBidragBeregning(
@field:NotBlank(message = "Saksnummer kan ikke være blank")
@field:Size(max = 7, min = 7, message = "Saksnummer skal ha sju tegn")
@field:Size(max = 7, min = 7, message = "Saksnummer må bestå av 7 tegn")
val saksnummer: String,
@field:GyldigPersonidentLengde
val personidentBarn: Personident,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ data class BidragBeregningResponsDto(
val saksnummer: String,
val personidentBarn: Personident,
val gjelderFom: LocalDate,
val datoSøknad: LocalDate,
val beregnetBeløp: BigDecimal,
val faktiskBeløp: BigDecimal,
val beløpSamvær: BigDecimal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import kotlin.reflect.KClass
@Retention(AnnotationRetention.RUNTIME)
@Constraint(validatedBy = arrayOf(PersonidentLengdeValidator::class))
annotation class GyldigPersonidentLengde(
val message: String = "Personident må ha 11 tegn",
val message: String = "Personident må inneholde 11 tegn",
val groups: Array<KClass<*>> = [],
val payload: Array<KClass<out Any>> = [],
)
Expand Down

0 comments on commit 91fb69c

Please sign in to comment.