<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\QaCollection;

use AuxCF\Entities\Field\Enum\RepeaterFieldLayoutEnum;
use AuxCF\Entities\Field\RepeaterFieldEntity;

class QaPairFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'qa_pair';
  protected string $label = 'Q&A Pair';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Block;
  protected int $min = 1;
  protected string $buttonLabel = 'Add Q&A Pair';

  protected array $initFields = [
    QaPairQuestionFieldEntity::class,
    QaPairAnswerFieldEntity::class,
    QaPairLinkFieldEntity::class,
  ];
}
