updated graphql dtos & build and it depends
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user