import { SetMetadata } from '@nestjs/common';

export const DEPARTMENT_METADATA = 'department';

export const RequireDepartment = (departmentId: string): MethodDecorator & ClassDecorator => {
  return SetMetadata(DEPARTMENT_METADATA, departmentId);
};
