import { Field, Int, ObjectType } from "@nestjs/graphql";
import { Person } from "@/models/person.model";

@ObjectType()
export class ListPeopleResponse {

    @Field(() => [Person], { nullable: true })
    data?: Person[];

    @Field(() => Int, { nullable: true })
    totalCount?: number;

}
