parents dto
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
import { OmitType } from "@nestjs/swagger";
|
||||||
|
import { CreateUserDto } from "./create_user.dto";
|
||||||
|
|
||||||
|
export class CreateParentDto extends OmitType(CreateUserDto, ['role'] as const) {}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
import { PartialType } from "@nestjs/swagger";
|
||||||
|
import { CreateParentDto } from "./create_parent.dto";
|
||||||
|
|
||||||
|
export class UpdateParentsDto extends PartialType(CreateParentDto) {}
|
||||||
Reference in New Issue
Block a user