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

@ObjectType()
export class ListUsersResponse {
    @Field(() => [User], { nullable: true })
    data?: User[];

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