Untitled
unknown
plain_text
a year ago
744 B
10
Indexable
export class HomeInsuranceFormBody {
@ValidateNested({ each: true })
@Type((): any => CoverageDetails)
public coverageDetails: CoverageDetails;
@ValidateNested({ each: true })
public listedItems: ListedItems;
@ValidateNested({ each: true })
@Type((): any => PropertyDetails)
public propertyDetails: PropertyDetails;
@IsString()
@IsOptional()
public stage: string;
@IsOptional()
@Type((): any => ErrorVO)
public error: ErrorVO;
}
export class CoverageDetails {
@IsNumber()
public ownershipCode: number;
@IsNumber()
public nationalityCode: number;
@ValidateNested({ each: true })
public mandatoryCovers: MandatoryCover[];
}Editor is loading...
Leave a Comment