<?php

namespace Planaday\Config\Booking\Form\Company;

use Planaday\Config\Booking\Form\BookingFormOptionsEnum;
use Planaday\Config\OptionGroupEnum;

enum CompanyOptionsEnum: string implements OptionGroupEnum{
	case INVOICE = 'INVOICE';
	case ALLOW_COMPANIES = 'ALLOW_COMPANIES';
	case AS_COMPANY_DEFAULT = 'AS_COMPANY_DEFAULT';
	case ASK_PHONE_NUMBER = 'ASK_PHONE_NUMBER';
	case PHONE_NUMBER_REQUIRED = 'PHONE_NUMBER_REQUIRED';

	public static function getClassName(): string {
		return CompanySettings::class;
	}

	public static function getParentEnum(): ?OptionGroupEnum {
		return BookingFormOptionsEnum::COMPANY;
	}
}