Implement restaurant ID handling in schedule operations; add AdminAuthGuard for access control; enhance schedule service with validation for existing schedules and restaurant existence checks.

This commit is contained in:
2025-11-18 09:21:37 +03:30
parent dcce6cfdda
commit 8975a9fcc7
3 changed files with 32 additions and 28 deletions
@@ -30,7 +30,4 @@ export class CreateScheduleDto {
@Type(() => Boolean)
isActive?: boolean;
@ApiProperty({ example: 'rest-ulid-123', description: 'شناسه رستوران' })
@IsString()
restId!: string;
}