-
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
Showing
160 changed files
with
6,753 additions
and
3,202 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
8 changes: 8 additions & 0 deletions
8
common/domain/src/main/kotlin/no/nav/mulighetsrommet/domain/dto/Innsatsgruppe.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,8 @@ | ||
package no.nav.mulighetsrommet.domain.dto | ||
|
||
enum class Innsatsgruppe { | ||
STANDARD_INNSATS, | ||
SITUASJONSBESTEMT_INNSATS, | ||
SPESIELT_TILPASSET_INNSATS, | ||
VARIG_TILPASSET_INNSATS, | ||
} |
78 changes: 78 additions & 0 deletions
78
common/domain/src/main/kotlin/no/nav/mulighetsrommet/domain/dto/Personopplysning.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,78 @@ | ||
package no.nav.mulighetsrommet.domain.dto | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
enum class Personopplysning { | ||
NAVN, | ||
KJONN, | ||
ADRESSE, | ||
TELEFONNUMMER, | ||
FOLKEREGISTER_IDENTIFIKATOR, | ||
FODSELSDATO, | ||
BEHOV_FOR_BISTAND_FRA_NAV, | ||
YTELSER_FRA_NAV, | ||
BILDE, | ||
EPOST, | ||
BRUKERNAVN, | ||
ARBEIDSERFARING_OG_VERV, | ||
SERTIFIKATER_OG_KURS, | ||
IP_ADRESSE, | ||
UTDANNING_OG_FAGBREV, | ||
PERSONLIGE_EGENSKAPER_OG_INTERESSER, | ||
SPRAKKUNNSKAP, | ||
ADFERD, | ||
SOSIALE_FORHOLD, | ||
HELSEOPPLYSNINGER, | ||
RELIGION, | ||
; | ||
|
||
fun toPersonopplysningMedBeskrivelse() = | ||
PersonopplysningMedBeskrivelse( | ||
personopplysning = this, | ||
beskrivelse = this.toBeskrivelse(), | ||
) | ||
|
||
fun toBeskrivelse(): String { | ||
return when (this) { | ||
NAVN -> "Navn" | ||
KJONN -> "Kjønn" | ||
ADRESSE -> "Adresse" | ||
TELEFONNUMMER -> "Telefonnummer" | ||
FOLKEREGISTER_IDENTIFIKATOR -> "Folkeregisteridentifikator (personnummer og D-nummer)" | ||
FODSELSDATO -> "Fødselsdato" | ||
BEHOV_FOR_BISTAND_FRA_NAV -> "Behov for bistand fra NAV" | ||
YTELSER_FRA_NAV -> "Ytelser fra NAV" | ||
BILDE -> "Bilde" | ||
EPOST -> "E-postadresse" | ||
BRUKERNAVN -> "Brukernavn" | ||
ARBEIDSERFARING_OG_VERV -> "Opplysninger knyttet til arbeidserfaring og verv som normalt fremkommer av en CV, herunder arbeidsgiver og hvor lenge man har jobbet" | ||
SERTIFIKATER_OG_KURS -> "Sertifikater og kurs, eks. førerkort, vekterkurs" | ||
IP_ADRESSE -> "IP-adresse" | ||
UTDANNING_OG_FAGBREV -> "Utdanning, herunder fagbrev, høyere utdanning, grunnskoleopplæring osv." | ||
PERSONLIGE_EGENSKAPER_OG_INTERESSER -> "Opplysninger om personlige egenskaper og interesser" | ||
SPRAKKUNNSKAP -> "Opplysninger om språkkunnskap" | ||
ADFERD -> "Opplysninger om atferd som kan ha betydning for tiltaksgjennomføring og jobbmuligheter (eks. truende adferd, vanskelig å samarbeide med osv.)" | ||
SOSIALE_FORHOLD -> "Sosiale eller personlige forhold som kan ha betydning for tiltaksgjennomføring og jobbmuligheter (eks. aleneforsørger og kan derfor ikke jobbe kveldstid, eller økonomiske forhold som går ut over tiltaksgjennomføringen)" | ||
HELSEOPPLYSNINGER -> "Helseopplysninger" | ||
RELIGION -> "Religion" | ||
} | ||
} | ||
} | ||
|
||
enum class PersonopplysningFrekvens { | ||
ALLTID, | ||
OFTE, | ||
SJELDEN, | ||
} | ||
|
||
@Serializable | ||
data class PersonopplysningMedFrekvens( | ||
val personopplysning: Personopplysning, | ||
val frekvens: PersonopplysningFrekvens, | ||
) | ||
|
||
@Serializable | ||
data class PersonopplysningMedBeskrivelse( | ||
val personopplysning: Personopplysning, | ||
val beskrivelse: 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
6 changes: 6 additions & 0 deletions
6
common/domain/src/main/kotlin/no/nav/mulighetsrommet/domain/dto/TiltakstypeStatus.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,6 @@ | ||
package no.nav.mulighetsrommet.domain.dto | ||
|
||
enum class TiltakstypeStatus { | ||
AKTIV, | ||
AVSLUTTET, | ||
} |
22 changes: 0 additions & 22 deletions
22
common/domain/src/main/kotlin/no/nav/mulighetsrommet/domain/dto/Tiltakstypestatus.kt
This file was deleted.
Oops, something went wrong.
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.