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.
feat: ORV2-2973 - Application Queue resubmit and rejection (#1592)
- Loading branch information
Showing
7 changed files
with
175 additions
and
37 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
37 changes: 37 additions & 0 deletions
37
vehicles/src/modules/case-management/dto/response/read-case-activity.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,37 @@ | ||
import { AutoMap } from '@automapper/classes'; | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
import { Nullable } from '../../../../common/types/common'; | ||
|
||
export class ReadCaseActivityDto { | ||
@AutoMap() | ||
@ApiProperty({ | ||
description: 'The unique case acitivty id.', | ||
example: 1, | ||
}) | ||
caseActivityId: number; | ||
|
||
@AutoMap() | ||
@ApiProperty({ | ||
description: | ||
'The user name or id linked to the activity. This value is returned only when queried by a staff user.', | ||
example: 'JSMITH', | ||
required: false, | ||
}) | ||
userName?: string; | ||
|
||
@AutoMap() | ||
@ApiProperty({ | ||
description: 'The date and time when the activity took place.', | ||
example: '2023-10-11T23:26:51.170Z', | ||
}) | ||
dateTime: string; | ||
|
||
@AutoMap() | ||
@ApiProperty({ | ||
description: 'The reason for activity.', | ||
example: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit', | ||
required: false, | ||
type: 'string', | ||
}) | ||
caseNotes?: Nullable<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
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