<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\SidebarComponents\Testimonial;

use AuxCF\Entities\Field\TextFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Entities\AuxCF\Fields\CustomContent\CustomContentSidebarSelectFieldEntity;
use WP_AUX\Enum\SidebarComponentEnum;
use WP_AUX\Services\AuxFramework\PersonnelFieldsService;

class SidebarTestimonialOrgFieldEntity extends TextFieldEntity
{
  public static string $name = 'sidebar_testimonial_org';
  protected string $label = 'Attributor Organization';
  protected string $instructions = PersonnelFieldsService::ORG_FIELD_HELP;

  protected array $initConditionalLogic = [
    [
      [ CustomContentSidebarSelectFieldEntity::class, OperatorEnum::EQUALS, SidebarComponentEnum::Testimonial ],
    ]
  ];

}
