<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\TestimonialCollection;

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

class TestimonialsFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'testimonial';
  protected string $label = 'Testimonial';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Block;
  protected int $min = 1;
  protected ?int $max = 3;
  protected string $buttonLabel = 'Add Testimonial';

  protected array $initFields = [
    TestimonialQuoteFieldEntity::class,
    TestimonialNameFieldEntity::class,
    TestimonialTitleFieldEntity::class,
    TestimonialOrgFieldEntity::class,
    TestimonialImageFieldEntity::class,
  ];
}
