<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\PageFields\Story;

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

class StoryContactFieldEntity extends GroupFieldEntity
{
  public static string $name = 'aux_story_contact';
  public static string $nickname = 'contact';

  protected string $label = 'Media Contact';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Block;

  protected array $initFields = [
    StoryContactPersonFieldEntity::class,
    StoryContactOrganizationFieldEntity::class,
    StoryContactEmailFieldEntity::class,
    StoryContactPhoneFieldEntity::class,
    StoryContactContentFieldEntity::class,
  ];
}
