Merge pull request #60 from Danakcorp/mrtz

add : banner order
This commit is contained in:
morteza-mortezai
2025-11-09 11:09:07 +03:30
committed by GitHub
+5 -5
View File
@@ -219,11 +219,11 @@ export class UpdateBannerDTO {
@ApiProperty({ type: "boolean", description: "slider active status", example: true, required: false })
isActive: boolean;
// @Expose()
// @IsOptional()
// @IsNotEmpty()
// @ApiProperty({ type: "number", description: "the order of image for the banner group", example: 1, required: false })
// order: number;
@Expose()
@IsOptional()
@IsNotEmpty()
@ApiProperty({ type: "number", description: "the order of image for the banner group", example: 1, required: false })
order: number;
}
//*****************************************
//*****************************************