import * as TypeGraphQL from "type-graphql" ; import * as GraphQLScalars from "graphql-scalars" ; import { Prisma } from "../../../client" ; import { DecimalJSScalar } from "../../scalars" ; import { Role } from "../../enums/Role" ; @ TypeGraphQL . ObjectType ( "MainUserMaxAggregate" , { isAbstract : true } ) export class MainUserMaxAggregate { @ TypeGraphQL . Field ( _type => TypeGraphQL . Int , { nullable : true } ) id ! : number | null ; @ TypeGraphQL . Field ( _type => String , { nullable : true } ) email ! : string | null ; @ TypeGraphQL . Field ( _type => String , { nullable : true } ) name ! : string | null ; @ TypeGraphQL . Field ( _type => TypeGraphQL . Int , { nullable : true } ) age ! : number | null ; @ TypeGraphQL . Field ( _type => TypeGraphQL . Float , { nullable : true } ) balance ! : number | null ; @ TypeGraphQL . Field ( _type => TypeGraphQL . Float , { nullable : true } ) amount ! : number | null ; @ TypeGraphQL . Field ( _type => Role , { nullable : true } ) role ! : "USER" | "ADMIN" | null ; }