parents dto

This commit is contained in:
2025-08-29 10:38:14 +02:00
parent 57f2026ac8
commit 8ab5b7faff
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
import { OmitType } from "@nestjs/swagger";
import { CreateUserDto } from "./create_user.dto";
export class CreateParentDto extends OmitType(CreateUserDto, ['role'] as const) {}
+4
View File
@@ -0,0 +1,4 @@
import { PartialType } from "@nestjs/swagger";
import { CreateParentDto } from "./create_parent.dto";
export class UpdateParentsDto extends PartialType(CreateParentDto) {}