import { Field, ObjectType } from '@nestjs/graphql';
import { UUID } from '../../global/scalars/UUID';

@ObjectType()
export class Apparatus {
    @Field(() => UUID,{ nullable: false })
    _id: UUID

    @Field(() => String, { nullable: false })
    name: string

    @Field(() => String, { nullable: true })
    logo?: string
}