Skip to content
Snippets Groups Projects
group.model.ts 336 B
Newer Older
import { Field, ObjectType } from '@nestjs/graphql';
import { Entity } from './entity.model';
export class Group extends Entity {
  @Field({ nullable: true })
  description?: string;
stevereis's avatar
stevereis committed
  @Field(() => [Group])
  groups: Group[];
  @Field(() => [String], { description: "List of variable's ids" })
  variables: string[];