Implement scoping on be (#144)
This commit is contained in:
@ -0,0 +1,43 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonCountAggregate {
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
id!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
createdAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
updatedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
firstname!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
lastname!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
email!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
phone!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
city!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
companyId!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
_all!: number;
|
||||
}
|
||||
Reference in New Issue
Block a user