-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EW-621: Add GET endpoint for personenkontexte. (#40)
* EW-621: Add Get personenkontext endpoint to person controller. * EW-621: Add personenkontexte to personendatensatz.
- Loading branch information
1 parent
2d94222
commit 7c45f2c
Showing
19 changed files
with
643 additions
and
94 deletions.
There are no files selected for viewing
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
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,20 @@ | ||
import { AutoMap } from '@automapper/classes'; | ||
import { Rolle, Personenstatus } from '../domain/personenkontext.enums.js'; | ||
import { SichtfreigabeType } from './personen-query.param.js'; | ||
|
||
export class FindPersonenkontextDto { | ||
@AutoMap() | ||
public personId!: string; | ||
|
||
@AutoMap() | ||
public readonly referrer?: string; | ||
|
||
@AutoMap() | ||
public readonly rolle?: Rolle; | ||
|
||
@AutoMap() | ||
public readonly personenstatus?: Personenstatus; | ||
|
||
@AutoMap() | ||
public readonly sichtfreigabe: SichtfreigabeType = SichtfreigabeType.NEIN; | ||
} |
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
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
Oops, something went wrong.