<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\PageFields\Taxonomy;

use AuxCF\Entities\Field\Enum\RelationshipFieldReturnFormatEnum;
use AuxCF\Entities\Field\RelationshipFieldEntity;

class TaxonomyFeaturedPostsFieldEntity extends RelationshipFieldEntity
{
  public static string $name = 'aux_featured_posts';
  public static string $nickname = 'featured_posts';

  protected string $label = 'Featured Post';
  protected string $instructions = '(optional) Highlight a post in the sidebar of the archive for this term.';
  protected ?int $max = 1;
  protected array $postType = [];
  protected RelationshipFieldReturnFormatEnum $returnFormat = RelationshipFieldReturnFormatEnum::Object;
}
