forked from Yara724/api
user owner guidence added + status and steps fixed
This commit is contained in:
@@ -80,7 +80,11 @@ export class PartPricingV2Dto {
|
||||
@Type(() => DaghiDetailsV2Dto)
|
||||
daghi: DaghiDetailsV2Dto;
|
||||
|
||||
@ApiProperty({ example: false })
|
||||
@ApiProperty({
|
||||
example: false,
|
||||
description:
|
||||
"If true, the owner must upload a repair factor image for this line; expert confirms cost later (validate-factors). Priced lines omit this or set false.",
|
||||
})
|
||||
@IsBoolean()
|
||||
factorNeeded: boolean;
|
||||
}
|
||||
@@ -91,7 +95,11 @@ export class SubmitExpertReplyV2Dto {
|
||||
@IsNotEmpty()
|
||||
description: string;
|
||||
|
||||
@ApiProperty({ type: [PartPricingV2Dto] })
|
||||
@ApiProperty({
|
||||
type: [PartPricingV2Dto],
|
||||
description:
|
||||
"Each part: manual pricing and `daghi`; set `factorNeeded` only where a repair factor upload is required from the owner.",
|
||||
})
|
||||
@IsArray()
|
||||
@ValidateNested({ each: true })
|
||||
@Type(() => PartPricingV2Dto)
|
||||
|
||||
Reference in New Issue
Block a user