import * as TypeGraphQL from "type-graphql" ; import * as GraphQLScalars from "graphql-scalars" ; import { Prisma } from "../../../client" ; import { DecimalJSScalar } from "../../scalars" ; import { MainUserCreateManyaliasesInput } from "../inputs/MainUserCreateManyaliasesInput" ; import { MainUserCreateManygradesInput } from "../inputs/MainUserCreateManygradesInput" ; import { Role } from "../../enums/Role" ; @ TypeGraphQL . InputType ( "MainUserCreateManyInput" , { isAbstract : true } ) export class MainUserCreateManyInput { @ TypeGraphQL . Field ( _type => TypeGraphQL . Int , { nullable : true } ) id ? : number | undefined ; @ TypeGraphQL . Field ( _type => String , { nullable : false } ) email ! : string ; name ? : string | undefined ; @ TypeGraphQL . Field ( _type => TypeGraphQL . Int , { nullable : false } ) age ! : number ; balance ! : number ; @ TypeGraphQL . Field ( _type => TypeGraphQL . Float , { nullable : false } ) amount ! : number ; @ TypeGraphQL . Field ( _type => Role , { nullable : false } ) role ! : "USER" | "ADMIN" ; @ TypeGraphQL . Field ( _type => MainUserCreateManygradesInput , { nullable : true } ) grades ? : MainUserCreateManygradesInput | undefined ; @ TypeGraphQL . Field ( _type => MainUserCreateManyaliasesInput , { nullable : true } ) aliases ? : MainUserCreateManyaliasesInput | undefined ; @ TypeGraphQL . Field ( _type => String , { nullable : true } ) get firstName ( ) { return this . name ; } set firstName ( name ) { this . name = name ; } @ TypeGraphQL . Field ( _type => TypeGraphQL . Float , { nullable : false } ) get accountBalance ( ) { return this . balance ; } set accountBalance ( balance ) { this . balance = balance ; } }