generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ORV2-3283 - Get Metadata for application in queue (#1760)
- Loading branch information
Showing
7 changed files
with
240 additions
and
10 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
49 changes: 49 additions & 0 deletions
49
vehicles/src/modules/case-management/dto/response/read-case-meta.dto.ts
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,49 @@ | ||
import { AutoMap } from '@automapper/classes'; | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
import { CaseType } from '../../../../common/enum/case-type.enum'; | ||
import { CaseStatusType } from '../../../../common/enum/case-status-type.enum'; | ||
|
||
export class ReadCaseMetaDto { | ||
@AutoMap() | ||
@ApiProperty({ | ||
description: 'The unique identifier of the case.', | ||
example: 4527, | ||
}) | ||
caseId: number; | ||
|
||
@AutoMap() | ||
@ApiProperty({ | ||
description: 'The type of case.', | ||
example: CaseType.DEFAULT, | ||
}) | ||
caseType: CaseType; | ||
|
||
@AutoMap() | ||
@ApiProperty({ | ||
description: 'The Case Status type.', | ||
example: CaseStatusType.OPEN, | ||
}) | ||
caseStatusType: CaseStatusType; | ||
|
||
@AutoMap() | ||
@ApiProperty({ | ||
description: 'The user name or id linked to the case.', | ||
example: 'JSMITH', | ||
}) | ||
assignedUser: string; | ||
|
||
@AutoMap() | ||
@ApiProperty({ | ||
description: 'Id of the application.', | ||
example: 74, | ||
required: false, | ||
}) | ||
applicationId: string; | ||
|
||
@AutoMap() | ||
@ApiProperty({ | ||
example: 'A2-00000002-120', | ||
description: 'Unique formatted permit application number.', | ||
}) | ||
applicationNumber: string; | ||
} |
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
6 changes: 1 addition & 5 deletions
6
vehicles/src/modules/common/dto/request/create-notification.dto.ts
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
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