remove graph
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
|
||||
@ApiProperty({ description: 'Merchant ID', required: false })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
merchantId?: string;
|
||||
|
||||
@ApiProperty({ description: 'Is active', required: false, default: true })
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
isActive?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user