Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statistikk for revurdering #220

Merged
merged 3 commits into from
Feb 25, 2021
Merged

Statistikk for revurdering #220

merged 3 commits into from
Feb 25, 2021

Conversation

aryani1
Copy link
Contributor

@aryani1 aryani1 commented Feb 24, 2021

No description provided.

@@ -68,4 +67,8 @@ sealed class Statistikk {
) : Statistikk()

data class Aktør(val aktorId: Int, val rolle: String, val rolleBeskrivelse: String)
enum class BehandlingType(val beskrivelse: String) {
SOKNAD("Søknad for SU Uføre"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SØKNAD går fint =)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hehe vi hade "SOKNAD" innan som String som behandlingstypen, så jag bara behåller det likt 🙈

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fordelen med enum er at du kan skille mellom enumen sitt navn og verdien. typ SØKNAD("SOKNAD"). Da kan man refaktorere den uten at en brekker ting utover.

@aryani1 aryani1 force-pushed the revurdering-statistikk branch from 158197f to 5684b1c Compare February 25, 2021 09:08
@aryani1 aryani1 merged commit 4e458ec into master Feb 25, 2021
@aryani1 aryani1 deleted the revurdering-statistikk branch February 25, 2021 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants