<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\PageFields\Story;

use AuxCF\Entities\Field\Enum\TaxonomyFieldReturnFormatEnum;
use AuxCF\Entities\Field\Enum\TaxonomyFieldTypeEnum;
use AuxCF\Entities\Field\TaxonomyFieldEntity;
use AuxCF\Entities\Settings\Enum\IntSwitchEnum;

class StorySourceAuthorFieldEntity extends TaxonomyFieldEntity
{
  public static string $name = 'aux_story_source_author';
  public static string $nickname = 'author';

  protected string $label = 'Author';
  protected string $taxonomy = 'story-author';
  protected TaxonomyFieldTypeEnum $fieldType = TaxonomyFieldTypeEnum::MultiSelect;
  protected TaxonomyFieldReturnFormatEnum $returnFormat = TaxonomyFieldReturnFormatEnum::Object;
  protected IntSwitchEnum $addTerms = IntSwitchEnum::On;
  protected IntSwitchEnum $saveTerms = IntSwitchEnum::On;
  protected IntSwitchEnum $loadTerms = IntSwitchEnum::On;
  protected IntSwitchEnum $allowNull = IntSwitchEnum::On;
}
