assistante dto added

This commit is contained in:
sdraris 2025-08-29 10:44:35 +02:00
parent 8ab5b7faff
commit ad0ffb31fa
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,4 @@
import { OmitType } from "@nestjs/swagger";
import { CreateUserDto } from "./create_user.dto";
export class CreateAssistanteDto extends OmitType(CreateUserDto, ['role'] as const) {}

View File

@ -0,0 +1,4 @@
import { PartialType } from "@nestjs/swagger";
import { CreateAssistanteDto } from "./create_assistante.dto";
export class UpdateAssistanteDto extends PartialType(CreateAssistanteDto) {}