🧱 frontend-api for oppdatering av feilmeldinger
Co-authored-by: Markus A. R. Johansen <markus.aleksander.rakil.johansen@nav.no>
This commit is contained in:
parent
7a045bb0c3
commit
2c1951e60b
3 changed files with 36 additions and 7 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
|
||||
export interface IFeilmelding {
|
||||
id: number,
|
||||
tittel: string,
|
||||
beskrivelse: string
|
||||
dato: Date
|
||||
|
|
@ -12,6 +13,7 @@ export interface IFeilmelding {
|
|||
}
|
||||
|
||||
export class Feilmelding implements IFeilmelding {
|
||||
id: number = 0
|
||||
tittel: string = "default tittel"
|
||||
beskrivelse: string = "default beskrivelse"
|
||||
dato: Date = new Date()
|
||||
|
|
@ -24,8 +26,9 @@ export class Feilmelding implements IFeilmelding {
|
|||
*/
|
||||
public constructor(
|
||||
fields: {
|
||||
tittel: string,
|
||||
beskrivelse: string,
|
||||
id: number
|
||||
tittel: string
|
||||
beskrivelse: string
|
||||
dato: Date
|
||||
haster: boolean
|
||||
arbeidsstatus: number
|
||||
|
|
|
|||
Reference in a new issue