-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffe154c
commit a7c22d8
Showing
23 changed files
with
224 additions
and
204 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
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
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
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,6 @@ | ||
package no.nav.syfo.soknad.model | ||
|
||
data class Arbeidsgiver( | ||
val navn: String? = null, | ||
val orgnummer: String? = null, | ||
) |
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,20 @@ | ||
package no.nav.syfo.soknad.model | ||
|
||
import java.time.LocalDate | ||
import java.time.LocalDateTime | ||
|
||
data class Soknad( | ||
val id: String, | ||
val status: SoknadStatus, | ||
val fnr: String, | ||
val orgnummer: String?, | ||
val sykmeldingId: String?, | ||
val korrigerer: String?, | ||
val korrigertAv: String?, | ||
val fom: LocalDate?, | ||
val tom: LocalDate?, | ||
val sendtNav: LocalDateTime?, | ||
val sendtArbeidsgiver: LocalDateTime?, | ||
val sporsmal: List<Sporsmal>, | ||
val soknadsperioder: List<Soknadsperiode>, | ||
) |
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,11 @@ | ||
package no.nav.syfo.soknad.model | ||
|
||
enum class SoknadStatus { | ||
NY, | ||
SENDT, | ||
FREMTIDIG, | ||
KORRIGERT, | ||
AVBRUTT, | ||
SLETTET, | ||
UTGAATT | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/kotlin/no/nav/syfo/soknad/model/Soknadsperiode.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,10 @@ | ||
package no.nav.syfo.soknad.model | ||
|
||
import java.time.LocalDate | ||
|
||
data class Soknadsperiode( | ||
val fom: LocalDate, | ||
val tom: LocalDate, | ||
val sykmeldingsgrad: Int?, | ||
val sykmeldingstype: Sykmeldingstype, | ||
) |
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,14 @@ | ||
package no.nav.syfo.soknad.model | ||
|
||
data class Sporsmal( | ||
val id: String, | ||
val tag: String, | ||
val min: String?, | ||
val max: String?, | ||
val kriterieForVisningAvUndersporsmal: Visningskriterium?, | ||
val svartype: Svartype, | ||
val sporsmalstekst: String?, | ||
val undertekst: String?, | ||
val svar: List<Svar>, | ||
val undersporsmal: List<Sporsmal>, | ||
) |
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,3 @@ | ||
package no.nav.syfo.soknad.model | ||
|
||
data class Svar(val verdi: String) |
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,30 @@ | ||
package no.nav.syfo.soknad.model | ||
|
||
enum class Svartype { | ||
JA_NEI, | ||
CHECKBOX, | ||
CHECKBOX_GRUPPE, | ||
CHECKBOX_PANEL, | ||
DATO, | ||
PERIODE, | ||
PERIODER, | ||
TIMER, | ||
FRITEKST, | ||
IKKE_RELEVANT, | ||
GRUPPE_AV_UNDERSPORSMAL, | ||
BEKREFTELSESPUNKTER, | ||
PROSENT, | ||
RADIO_GRUPPE, | ||
RADIO_GRUPPE_TIMER_PROSENT, | ||
RADIO, | ||
TALL, | ||
RADIO_GRUPPE_UKEKALENDER, | ||
LAND, | ||
COMBOBOX_SINGLE, | ||
COMBOBOX_MULTI, | ||
INFO_BEHANDLINGSDAGER, | ||
KVITTERING, | ||
DATOER, | ||
BELOP, | ||
KILOMETER, | ||
} |
Oops, something went wrong.