Files
yara724api/src/profile/dto/user/AddPlateDto.ts
2026-09-13 14:13:05 +03:30

17 lines
520 B
TypeScript

import { ApiProperty } from "@nestjs/swagger";
import { PlatesDto } from "src/plates/dto/plate.dto";
import { Plates } from "src/Types&Enums/plate.interface";
import { InquiryParticipantFieldsDto } from "src/common/dto/inquiry-participants.dto";
export class AddPlateDto extends InquiryParticipantFieldsDto {}
export class AddPlateProfileDto {
plateId: string;
@ApiProperty({ type: PlatesDto, required: true })
plate: Plates;
@ApiProperty({ type: String, required: true })
nationalCodeOfInsurer: string;
}