diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-10-24 06:29:23 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-10-24 06:29:23 +0200 |
| commit | 585c5c8537eb21dfc9f16108548e63d9ced3d971 (patch) | |
| tree | 1582bc45dcab585ec7204f1570019b2ca8de36c5 /code/api/src/Data/Models | |
| parent | 4b42c5235482fe0d3811b4e2936614c79e20d970 (diff) | |
| download | greatoffice-585c5c8537eb21dfc9f16108548e63d9ced3d971.tar.xz greatoffice-585c5c8537eb21dfc9f16108548e63d9ced3d971.zip | |
feat: Before move to FastEndpoints
Diffstat (limited to 'code/api/src/Data/Models')
| -rw-r--r-- | code/api/src/Data/Models/KnownProblemModel.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/code/api/src/Data/Models/KnownProblemModel.cs b/code/api/src/Data/Models/KnownProblemModel.cs new file mode 100644 index 0000000..445d338 --- /dev/null +++ b/code/api/src/Data/Models/KnownProblemModel.cs @@ -0,0 +1,16 @@ +namespace IOL.GreatOffice.Api.Data.Models; + +public class KnownProblemModel +{ + public KnownProblemModel(string title = default, string subtitle = default, Dictionary<string, string> errors = default) { + Title = title; + Subtitle = subtitle; + Errors = errors; + } + + public string Title { get; set; } + public string Subtitle { get; set; } + public Dictionary<string, string> Errors { get; set; } + public string TraceId { get; set; } + public string RequestId { get; set; } +}
\ No newline at end of file |
