forked from Yara724/api
Initial commit after migration to gitea
This commit is contained in:
26
src/request-management/dto/expert-accident-fields.dto.ts
Normal file
26
src/request-management/dto/expert-accident-fields.dto.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import { ApiProperty } from "@nestjs/swagger";
|
||||
import { AccidentWayIF, AccidentReasonIF } from "src/expert-blame/dto/reply.dto";
|
||||
|
||||
/**
|
||||
* DTO for expert to add accident fields to an expert-initiated file
|
||||
*/
|
||||
export class ExpertAccidentFieldsDto {
|
||||
@ApiProperty({
|
||||
type: AccidentWayIF,
|
||||
description: "Accident way information (id and label)",
|
||||
})
|
||||
accidentWay: AccidentWayIF;
|
||||
|
||||
@ApiProperty({
|
||||
type: AccidentReasonIF,
|
||||
description: "Accident reason information (id, label, and fanavaran)",
|
||||
})
|
||||
accidentReason: AccidentReasonIF;
|
||||
|
||||
@ApiProperty({
|
||||
type: AccidentWayIF,
|
||||
description: "Accident type information (id and label)",
|
||||
})
|
||||
accidentType: AccidentWayIF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user