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

@ObjectType()
export class ListCompanyResponse {

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

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

}