remove rest id from creating

This commit is contained in:
2025-11-22 12:46:26 +03:30
parent 9845b5e017
commit 8e63213f1d
5 changed files with 25 additions and 17 deletions
@@ -2,10 +2,6 @@ import { IsString, IsOptional, IsBoolean } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class CreateRestaurantPaymentMethodDto {
@ApiProperty({ description: 'Restaurant ID' })
@IsString()
restaurantId!: string;
@ApiProperty({ description: 'Payment method ID' })
@IsString()
paymentMethodId!: string;
@@ -20,4 +16,3 @@ export class CreateRestaurantPaymentMethodDto {
@IsBoolean()
isActive?: boolean;
}