updated graphql dtos & build and it depends

This commit is contained in:
2025-11-14 20:08:13 +03:00
parent 42983eab65
commit 2e329d8dfe
11 changed files with 102 additions and 23 deletions

View File

@@ -1,7 +1,47 @@
import { InputType, Field, ID } from '@nestjs/graphql';
import { InputType, Field, GraphQLISODateTime } from "@nestjs/graphql";
@InputType()
export class CreatePersonInput {
@Field()
firstName: string;
@Field()
surname: string;
@Field()
middleName: string;
@Field()
sexCode: string;
@Field()
personRef: string;
@Field()
personTag: string;
@Field()
fatherName: string;
@Field()
motherName: string;
@Field()
countryCode: string;
@Field()
nationalIdentityId: string;
@Field()
birthPlace: string;
@Field(() => GraphQLISODateTime)
birthDate: Date;
@Field()
taxNo: string;
@Field()
birthname: string;
}