add : banner order

This commit is contained in:
morteza-mortezai
2025-11-09 11:08:22 +03:30
parent ac24609078
commit afefc9d458
+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;
}
//*****************************************
//*****************************************