add : banner order
This commit is contained in:
@@ -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;
|
||||
}
|
||||
//*****************************************
|
||||
//*****************************************
|
||||
|
||||
Reference in New Issue
Block a user