<?php

declare(strict_types=1);

namespace Mirakl\MMP\Common\Domain;

use Mirakl\Core\Domain\MiraklObject;

/**
 * @method array  getAcceptedValues()
 * @method $this  setAcceptedValues(array $acceptedValues) This list populated with the accepted values of additional fields when the type is LIST
 * @method string getCode()                                Code of the additional field
 * @method $this  setCode(string $code)
 * @method string getDefaultValue()
 * @method $this  setDefaultValue(string $defaultValue)
 * @method string getDescription()
 * @method $this  setDescription(string $description)
 * @method bool   getEditable()
 * @method bool   isEditable()
 * @method $this  setEditable(bool $editable)
 * @method string getEntity()                              The object on which the additional field applies
 * @method $this  setEntity(string $entity)                One of AdditionalFieldLinkedEntity
 * @method string getLabel()                               Label of the additional field
 * @method $this  setLabel(string $label)
 * @method string getRegex()                               The regular expression that is used to validate
 * @method $this  setRegex(string $regex)
 * @method bool   getRequired()
 * @method bool   isRequired()                             Whether or not the additional field is required
 * @method $this  setRequired(bool $required)
 * @method string getShopPermission()
 * @method $this  setShopPermission(bool $shopPermission)
 * @method string getType()                                Type of the additional field
 * @method $this  setType(string $type)                    One of AdditionalFieldType
 */
class AdditionalField extends MiraklObject
{
}
