forked from Yara724/api
13 lines
328 B
TypeScript
13 lines
328 B
TypeScript
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;
|
|
}
|