-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Henter nå filtere fra databasen, og endepunkter for å administrere fi…
…lter.
- Loading branch information
Showing
11 changed files
with
579 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 8 additions & 3 deletions
11
api-kontrakt/src/main/kotlin/no/nav/aap/oppgave/filter/FilterDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
package no.nav.aap.oppgave.filter | ||
|
||
import no.nav.aap.oppgave.verdityper.Behandlingstype | ||
import java.time.LocalDateTime | ||
|
||
data class FilterDto( | ||
val id: Long, | ||
val navn: String, | ||
val id: Long? = null, | ||
val beskrivelse: String, | ||
val avklaringsbehovKoder: Set<String> = emptySet(), | ||
val behandlingstyper: Set<Behandlingstype> = emptySet() | ||
val behandlingstyper: Set<Behandlingstype> = emptySet(), | ||
val opprettetAv: String, | ||
val opprettetTidspunkt: LocalDateTime, | ||
val endretAv: String? = null, | ||
val endretTidspunkt: LocalDateTime? = null, | ||
) |
5 changes: 5 additions & 0 deletions
5
api-kontrakt/src/main/kotlin/no/nav/aap/oppgave/filter/FilterId.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package no.nav.aap.oppgave.filter | ||
|
||
import com.papsign.ktor.openapigen.annotations.parameters.PathParam | ||
|
||
data class FilterId(@PathParam("filterId") val filterId: Long) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.