import { ApiProperty } from "@nestjs/swagger"; import { AddPlateDto } from "src/profile/dto/user/AddPlateDto"; import { DescriptionDto } from "./create-request-management.dto"; import { InitialFormDto } from "./create-request-management.dto"; /** * Second party information for expert-completed THIRD_PARTY forms */ export class ExpertSecondPartyInfoDto { @ApiProperty({ description: "Second party phone number", example: "09123456789", }) phoneNumber: string; @ApiProperty({ type: InitialFormDto }) initialForm: InitialFormDto; @ApiProperty({ type: AddPlateDto }) plate: AddPlateDto; @ApiProperty({ type: DescriptionDto }) description: DescriptionDto; } /** * Comprehensive form for experts to fill all information at once for IN_PERSON THIRD_PARTY files */ export class ExpertCompleteThirdPartyFormDto { // First Party Information @ApiProperty({ description: "First party phone number", example: "09123456789", }) firstPartyPhoneNumber: string; @ApiProperty({ type: InitialFormDto }) firstPartyInitialForm: InitialFormDto; @ApiProperty({ type: AddPlateDto }) firstPartyPlate: AddPlateDto; @ApiProperty({ type: DescriptionDto }) firstPartyDescription: DescriptionDto; // Second Party Information @ApiProperty({ type: ExpertSecondPartyInfoDto }) secondParty: ExpertSecondPartyInfoDto; // Guilty Party @ApiProperty({ description: "Phone number of the guilty party. Must match either first or second party phone number.", example: "09123456789", }) guiltyPartyPhoneNumber: string; }