<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\ContactCardCollection;

use AuxCF\Entities\Field\EmailFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Services\AuxFramework\PersonnelFieldsService;

class ContactCardAdminEmailFieldEntity extends EmailFieldEntity
{
  public static string $name = 'contact_card_admin_email';
  protected string $label = 'Administrative Contact Email';
  protected string $instructions = PersonnelFieldsService::EMAIL_FIELD_HELP;

  protected array $initConditionalLogic = [
    [
      [ ContactCardAdminSwitchFieldEntity::class, OperatorEnum::EQUALS, '1' ],
    ]
  ];

}
