Skip to content

Commit

Permalink
correct numero schema
Browse files Browse the repository at this point in the history
  • Loading branch information
fufeck committed Nov 22, 2023
1 parent 34079c7 commit cef6414
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/shared/src/schemas/numero/numero.populate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export class NumeroPopulate extends BaseEntity {
@ApiProperty()
numero: number;

@ApiProperty()
numeroComplet: string;

@ApiProperty()
commune: string;

Expand Down
3 changes: 3 additions & 0 deletions libs/shared/src/schemas/numero/numero.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export class Numero extends BaseEntity {
@Prop({ type: SchemaTypes.Number })
numero: number;

@ApiProperty()
numeroComplet: string;

@ApiProperty()
@Prop({ type: SchemaTypes.String })
commune: string;
Expand Down

0 comments on commit cef6414

Please sign in to comment.