chore: add logic for remove completed payment

This commit is contained in:
mahyargdz
2025-05-15 14:19:52 +03:30
parent 2ac29d1a91
commit 1bc8b23452
5 changed files with 66 additions and 24 deletions
@@ -38,13 +38,6 @@ export class CreateAnnouncementDto {
@ApiProperty({ description: "Is this announcement important?", example: false })
isImportant: boolean;
// @IsOptional()
// @IsNotEmpty({ message: AnnouncementMessage.SERVICE_MUST_BE_ID })
// @ArrayMinSize(1)
// @IsUUID("4", { message: AnnouncementMessage.SERVICE_MUST_BE_UUID, each: true })
// @ApiProperty({ type: [String], description: "Service IDs", example: ["d290f1ee-6c54-4b01-90e6-d701748f0851"] })
// serviceIds: string[];
@IsOptional()
@IsNotEmpty({ message: AnnouncementMessage.SERVICE_MUST_BE_ID })
@IsUUID("4", { message: AnnouncementMessage.SERVICE_MUST_BE_UUID })