<?php

namespace Akeneo\Tool\Bundle\ApiBundle\Entity;

use FOS\OAuthServerBundle\Entity\Client as BaseClient;

/**
 * @author    Yohan Blain <yohan.blain@akeneo.com>
 * @copyright 2017 Akeneo SAS (http://www.akeneo.com)
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 */
class Client extends BaseClient
{
    /** @var string */
    protected $label;

    protected ?string $marketplacePublicAppId = null;

    /**
     * @param string $label
     */
    public function setLabel($label)
    {
        $this->label = $label;
    }

    /**
     * @return string
     */
    public function getLabel()
    {
        return $this->label;
    }

    public function getMarketplacePublicAppId(): ?string
    {
        return $this->marketplacePublicAppId;
    }

    public function setMarketplacePublicAppId(string $marketplacePublicAppId): void
    {
        $this->marketplacePublicAppId = $marketplacePublicAppId;
    }
}
