-
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.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/felles/AuditLogDto.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,21 @@ | ||
package no.nav.bidrag.transport.felles | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema | ||
import java.time.LocalDateTime | ||
|
||
data class AuditLogDto( | ||
@Schema(description = "Navnet på tabellen som ble endret.") | ||
val tabellNavn: String, | ||
@Schema(description = "Id til raden som ble endret.") | ||
val tabellId: Int, | ||
@Schema(description = "Operasjonen som ble utført.") | ||
val operasjon: String, | ||
@Schema(description = "Tidspunkt for endringen.") | ||
val endretTidspunkt: LocalDateTime, | ||
@Schema(description = "Brukeren som endret raden. Kan være et system, database-bruker eller saksbehandler.") | ||
val endretAv: String, | ||
@Schema(description = "Verdiene som raden hadde før endringen.") | ||
val gamleVerdier: String, | ||
@Schema(description = "Verdiene som raden har etter endringen.") | ||
val nyeVerdier: String, | ||
) |