forked from Shared/esg
parsian inquiries implemented
This commit is contained in:
9
src/inquiry/dto/policy-by-chassis-request.dto.ts
Normal file
9
src/inquiry/dto/policy-by-chassis-request.dto.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsNotEmpty, IsString } from 'class-validator';
|
||||
|
||||
export class PolicyByChassisRequestDto {
|
||||
@ApiProperty({ example: 'NAAM01E15HK123456', description: 'Vehicle chassis number' })
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
chassisNo!: string;
|
||||
}
|
||||
Reference in New Issue
Block a user