Initial commit after migration to gitea

This commit is contained in:
2026-01-18 11:27:43 +03:30
parent a21039410c
commit ea4b8eb543
196 changed files with 45567 additions and 9 deletions

View File

@@ -0,0 +1,47 @@
import { ApiProperty } from "@nestjs/swagger";
import { Type } from "class-transformer";
import { TypeOfDamage } from "src/Types&Enums/claim-request-management/type-of-damage.enum";
export class UserObjectionPartDto {
@ApiProperty()
partId: string;
@ApiProperty({ required: false })
reason?: string;
@ApiProperty({ required: false })
partPrice?: string;
@ApiProperty({ required: false })
partSalary?: string;
@ApiProperty({ required: false })
typeOfDamage?: TypeOfDamage;
@ApiProperty({ required: false })
carPartDamage?: string;
@ApiProperty({ required: false })
side?: string;
}
export class NewPartDto {
@ApiProperty({ required: false, nullable: true })
partId: string | null;
@ApiProperty()
partName: string;
@ApiProperty({ required: false })
side?: string;
}
export class UserObjectionDto {
@ApiProperty({ type: [UserObjectionPartDto], required: false })
@Type(() => UserObjectionPartDto)
objectionParts?: UserObjectionPartDto[];
@ApiProperty({ type: [NewPartDto], required: false })
@Type(() => NewPartDto)
newParts?: NewPartDto[];
}