import { Field, ObjectType } from "@nestjs/graphql";
import { Int } from "@nestjs/graphql";
import { LivingSpaces } from "@/models/living-spaces.model";

@ObjectType()
export class ListLivingSpaceResponse {

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

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

}