<?php

namespace Proxies\__CG__\App\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Prospect extends \App\Entity\Prospect implements \Doctrine\ORM\Proxy\Proxy
{
    /**
     * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
     *      three parameters, being respectively the proxy object to be initialized, the method that triggered the
     *      initialization process and an array of ordered parameters that were passed to that method.
     *
     * @see \Doctrine\Common\Proxy\Proxy::__setInitializer
     */
    public $__initializer__;

    /**
     * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
     *
     * @see \Doctrine\Common\Proxy\Proxy::__setCloner
     */
    public $__cloner__;

    /**
     * @var boolean flag indicating if this object was already initialized
     *
     * @see \Doctrine\Persistence\Proxy::__isInitialized
     */
    public $__isInitialized__ = false;

    /**
     * @var array<string, null> properties to be lazy loaded, indexed by property name
     */
    public static $lazyPropertiesNames = array (
);

    /**
     * @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
     *
     * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
     */
    public static $lazyPropertiesDefaults = array (
);



    public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
    {

        $this->__initializer__ = $initializer;
        $this->__cloner__      = $cloner;
    }







    /**
     * 
     * @return array
     */
    public function __sleep()
    {
        if ($this->__isInitialized__) {
            return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'domain', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'status', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'categories', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'negotiations', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'links', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'negotiationMessages', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'paypalEmail', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'comment', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'score', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'problems', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'researches', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'guidelines', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'contactPage', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'country', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'currency', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'phone', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'mobile', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'email', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'createdAt', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'updatedAt'];
        }

        return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'domain', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'status', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'categories', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'negotiations', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'links', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'negotiationMessages', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'paypalEmail', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'comment', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'score', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'problems', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'researches', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'guidelines', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'contactPage', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'country', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'currency', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'phone', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'mobile', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'email', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'createdAt', '' . "\0" . 'App\\Entity\\Prospect' . "\0" . 'updatedAt'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (Prospect $proxy) {
                $proxy->__setInitializer(null);
                $proxy->__setCloner(null);

                $existingProperties = get_object_vars($proxy);

                foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
                    if ( ! array_key_exists($property, $existingProperties)) {
                        $proxy->$property = $defaultValue;
                    }
                }
            };

        }
    }

    /**
     * 
     */
    public function __clone()
    {
        $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
    }

    /**
     * Forces initialization of the proxy
     */
    public function __load()
    {
        $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __isInitialized()
    {
        return $this->__isInitialized__;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __setInitialized($initialized)
    {
        $this->__isInitialized__ = $initialized;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __setInitializer(\Closure $initializer = null)
    {
        $this->__initializer__ = $initializer;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __getInitializer()
    {
        return $this->__initializer__;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __setCloner(\Closure $cloner = null)
    {
        $this->__cloner__ = $cloner;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific cloning logic
     */
    public function __getCloner()
    {
        return $this->__cloner__;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     * @deprecated no longer in use - generated code now relies on internal components rather than generated public API
     * @static
     */
    public function __getLazyProperties()
    {
        return self::$lazyPropertiesDefaults;
    }

    
    /**
     * {@inheritDoc}
     */
    public function getId(): ?int
    {
        if ($this->__isInitialized__ === false) {
            return (int)  parent::getId();
        }


        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);

        return parent::getId();
    }

    /**
     * {@inheritDoc}
     */
    public function getDomain(): ?\App\Entity\Domain
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDomain', []);

        return parent::getDomain();
    }

    /**
     * {@inheritDoc}
     */
    public function setDomain(\App\Entity\Domain $domain): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDomain', [$domain]);

        return parent::setDomain($domain);
    }

    /**
     * {@inheritDoc}
     */
    public function getStatus(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);

        return parent::getStatus();
    }

    /**
     * {@inheritDoc}
     */
    public function setStatus(?string $status): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);

        return parent::setStatus($status);
    }

    /**
     * {@inheritDoc}
     */
    public function getCategories(): \Doctrine\Common\Collections\Collection
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCategories', []);

        return parent::getCategories();
    }

    /**
     * {@inheritDoc}
     */
    public function addCategory(\App\Entity\Category $category): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addCategory', [$category]);

        return parent::addCategory($category);
    }

    /**
     * {@inheritDoc}
     */
    public function removeCategory(\App\Entity\Category $category): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCategory', [$category]);

        return parent::removeCategory($category);
    }

    /**
     * {@inheritDoc}
     */
    public function getNegotiationMessages(): \Doctrine\Common\Collections\Collection
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNegotiationMessages', []);

        return parent::getNegotiationMessages();
    }

    /**
     * {@inheritDoc}
     */
    public function addNegotiationMessage(\App\Entity\NegotiationMessage $negotiationMessage): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addNegotiationMessage', [$negotiationMessage]);

        return parent::addNegotiationMessage($negotiationMessage);
    }

    /**
     * {@inheritDoc}
     */
    public function removeNegotiationMessage(\App\Entity\NegotiationMessage $negotiationMessage): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeNegotiationMessage', [$negotiationMessage]);

        return parent::removeNegotiationMessage($negotiationMessage);
    }

    /**
     * {@inheritDoc}
     */
    public function getNegotiations(): \Doctrine\Common\Collections\Collection
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNegotiations', []);

        return parent::getNegotiations();
    }

    /**
     * {@inheritDoc}
     */
    public function addNegotiation(\App\Entity\Negotiation $negotiation): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addNegotiation', [$negotiation]);

        return parent::addNegotiation($negotiation);
    }

    /**
     * {@inheritDoc}
     */
    public function removeNegotiation(\App\Entity\Negotiation $negotiation): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeNegotiation', [$negotiation]);

        return parent::removeNegotiation($negotiation);
    }

    /**
     * {@inheritDoc}
     */
    public function getLinks(): \Doctrine\Common\Collections\Collection
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLinks', []);

        return parent::getLinks();
    }

    /**
     * {@inheritDoc}
     */
    public function getPaypalEmail(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPaypalEmail', []);

        return parent::getPaypalEmail();
    }

    /**
     * {@inheritDoc}
     */
    public function setPaypalEmail(?string $paypalEmail): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPaypalEmail', [$paypalEmail]);

        return parent::setPaypalEmail($paypalEmail);
    }

    /**
     * {@inheritDoc}
     */
    public function getComment(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getComment', []);

        return parent::getComment();
    }

    /**
     * {@inheritDoc}
     */
    public function setComment(?string $comment): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setComment', [$comment]);

        return parent::setComment($comment);
    }

    /**
     * {@inheritDoc}
     */
    public function getScore(): ?int
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getScore', []);

        return parent::getScore();
    }

    /**
     * {@inheritDoc}
     */
    public function setScore(int $score): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setScore', [$score]);

        return parent::setScore($score);
    }

    /**
     * {@inheritDoc}
     */
    public function getProblems(): \Doctrine\Common\Collections\Collection
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProblems', []);

        return parent::getProblems();
    }

    /**
     * {@inheritDoc}
     */
    public function addProblem(\App\Entity\Prospect\Problem $problem): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addProblem', [$problem]);

        return parent::addProblem($problem);
    }

    /**
     * {@inheritDoc}
     */
    public function removeProblem(\App\Entity\Prospect\Problem $problem): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProblem', [$problem]);

        return parent::removeProblem($problem);
    }

    /**
     * {@inheritDoc}
     */
    public function getResearches(): \Doctrine\Common\Collections\Collection
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getResearches', []);

        return parent::getResearches();
    }

    /**
     * {@inheritDoc}
     */
    public function addResearch(\App\Entity\Research $research): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addResearch', [$research]);

        return parent::addResearch($research);
    }

    /**
     * {@inheritDoc}
     */
    public function removeResearch(\App\Entity\Research $research): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeResearch', [$research]);

        return parent::removeResearch($research);
    }

    /**
     * {@inheritDoc}
     */
    public function getType(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);

        return parent::getType();
    }

    /**
     * {@inheritDoc}
     */
    public function setType(string $type): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);

        return parent::setType($type);
    }

    /**
     * {@inheritDoc}
     */
    public function getGuidelines(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getGuidelines', []);

        return parent::getGuidelines();
    }

    /**
     * {@inheritDoc}
     */
    public function setGuidelines(?string $guidelines): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setGuidelines', [$guidelines]);

        return parent::setGuidelines($guidelines);
    }

    /**
     * {@inheritDoc}
     */
    public function getContactPage(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getContactPage', []);

        return parent::getContactPage();
    }

    /**
     * {@inheritDoc}
     */
    public function setContactPage(string $contactPage): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setContactPage', [$contactPage]);

        return parent::setContactPage($contactPage);
    }

    /**
     * {@inheritDoc}
     */
    public function getCountry(): ?\App\Entity\Country
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountry', []);

        return parent::getCountry();
    }

    /**
     * {@inheritDoc}
     */
    public function setCountry(?\App\Entity\Country $country): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountry', [$country]);

        return parent::setCountry($country);
    }

    /**
     * {@inheritDoc}
     */
    public function getCurrency(): ?\App\Entity\Currency
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCurrency', []);

        return parent::getCurrency();
    }

    /**
     * {@inheritDoc}
     */
    public function setCurrency(?\App\Entity\Currency $currency): \App\Entity\Prospect
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCurrency', [$currency]);

        return parent::setCurrency($currency);
    }

    /**
     * {@inheritDoc}
     */
    public function getMostRecentAgreedPrice()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMostRecentAgreedPrice', []);

        return parent::getMostRecentAgreedPrice();
    }

    /**
     * {@inheritDoc}
     */
    public function getLinksCount(): int
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLinksCount', []);

        return parent::getLinksCount();
    }

    /**
     * {@inheritDoc}
     */
    public function getName()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);

        return parent::getName();
    }

    /**
     * {@inheritDoc}
     */
    public function setName($name)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);

        return parent::setName($name);
    }

    /**
     * {@inheritDoc}
     */
    public function getPhone()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhone', []);

        return parent::getPhone();
    }

    /**
     * {@inheritDoc}
     */
    public function setPhone($phone)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhone', [$phone]);

        return parent::setPhone($phone);
    }

    /**
     * {@inheritDoc}
     */
    public function getMobile()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMobile', []);

        return parent::getMobile();
    }

    /**
     * {@inheritDoc}
     */
    public function setMobile($mobile)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMobile', [$mobile]);

        return parent::setMobile($mobile);
    }

    /**
     * {@inheritDoc}
     */
    public function getEmail()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);

        return parent::getEmail();
    }

    /**
     * {@inheritDoc}
     */
    public function setEmail($email)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);

        return parent::setEmail($email);
    }

    /**
     * {@inheritDoc}
     */
    public function getCreatedAt(): ?\DateTime
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);

        return parent::getCreatedAt();
    }

    /**
     * {@inheritDoc}
     */
    public function getUpdatedAt(): ?\DateTime
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);

        return parent::getUpdatedAt();
    }

}
