Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Dec 18, 2024
1 parent 4d455ed commit 5f1b213
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/entities/klanten/klanten.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export class Klant implements TKlant {
public tweedeVoornaam: string
public tussenvoegsel: string
public achternaam: string
public naam: string
public bsn: string
public geboortedatum: string
public geslacht: 'man' | 'vrouw' | 'overige'
Expand Down Expand Up @@ -40,6 +39,7 @@ export class Klant implements TKlant {
this.id = source.id || ''
this.type = source.type || 'persoon'
this.voornaam = source.voornaam || ''
this.tweedeVoornaam = source.tweedeVoornaam || ''
this.tussenvoegsel = source.tussenvoegsel || ''
this.achternaam = source.achternaam || ''
this.bsn = source.bsn || ''
Expand Down Expand Up @@ -69,6 +69,7 @@ export class Klant implements TKlant {
const schema = z.object({
id: z.string().optional(),
voornaam: z.string().min(1),
tweedeVoornaam: z.string(),
tussenvoegsel: z.string(),
achternaam: z.string(),
bsn: z.string(),
Expand Down

0 comments on commit 5f1b213

Please sign in to comment.