forked from Yara724/api
Initial commit after migration to gitea
This commit is contained in:
12
src/claim-request-management/dto/in-person-visit.dto.ts
Normal file
12
src/claim-request-management/dto/in-person-visit.dto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ApiProperty } from "@nestjs/swagger";
|
||||
import { IsMongoId, IsNotEmpty } from "class-validator";
|
||||
|
||||
export class InPersonVisitDto {
|
||||
@ApiProperty({
|
||||
example: "60d5ec49e7b2f8001c8e4d2a",
|
||||
description: "The unique ID of the branch the user is being sent to.",
|
||||
})
|
||||
@IsNotEmpty()
|
||||
@IsMongoId()
|
||||
branchId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user