import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class CommentMaxAggregate { @Field(() => String, {nullable:true}) id?: string; @Field(() => Date, {nullable:true}) createdAt?: Date | string; @Field(() => Date, {nullable:true}) updatedAt?: Date | string; @Field(() => String, {nullable:true}) body?: string; @Field(() => String, {nullable:true}) authorId?: string; @Field(() => String, {nullable:true}) articleId?: string; }