<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\PageFields\Story;

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

class StorySourceFieldEntity extends GroupFieldEntity
{
  public static string $name = 'aux_story_source';
  public static string $nickname = 'source';

  protected string $label = 'Source';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Block;

  protected array $initFields = [
    StorySourceOriginalDateFieldEntity::class,
    StorySourceAuthorFieldEntity::class,
    StorySourceOrganizationFieldEntity::class,
    StorySourceLinkFieldEntity::class,
    StorySourceContentFieldEntity::class
  ];
}
