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

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

    @Field(() => Time, { nullable: false })
    time: Time
}