<?php

namespace Proxies\__CG__\BackendBundle\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Tienda extends \BackendBundle\Entity\Tienda 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\Persistence\Proxy::__setInitializer
     */
    public $__initializer__;

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

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

    /**
     * @var array properties to be lazy loaded, with keys being the property
     *            names and values being their default values
     *
     * @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
     */
    public static $lazyPropertiesDefaults = [];



    /**
     * @param \Closure $initializer
     * @param \Closure $cloner
     */
    public function __construct($initializer = null, $cloner = null)
    {

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







    /**
     * 
     * @return array
     */
    public function __sleep()
    {
        if ($this->__isInitialized__) {
            return ['__isInitialized__', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'idTienda', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'idCiudad', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'idTiendaTipo', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'codigo', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'nombre', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'direccion', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'zipCode', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'telefono1', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'telefono2', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'moneda', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'url', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'webservices', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'polizaVenta', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'polizaDevolucion', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'polizaSeparado', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'nroFacturaIni', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'vigenciaSeparado', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'estado', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'backgroundImage', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'createdAt', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'updatedAt', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'deletedAt', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'createdBy', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'updatedBy', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'deletedBy', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'emailNotificaciones'];
        }

        return ['__isInitialized__', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'idTienda', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'idCiudad', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'idTiendaTipo', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'codigo', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'nombre', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'direccion', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'zipCode', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'telefono1', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'telefono2', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'moneda', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'url', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'webservices', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'polizaVenta', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'polizaDevolucion', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'polizaSeparado', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'nroFacturaIni', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'vigenciaSeparado', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'estado', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'backgroundImage', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'createdAt', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'updatedAt', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'deletedAt', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'createdBy', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'updatedBy', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'deletedBy', '' . "\0" . 'BackendBundle\\Entity\\Tienda' . "\0" . 'emailNotificaciones'];
    }

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

                $existingProperties = get_object_vars($proxy);

                foreach ($proxy->__getLazyProperties() 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
     * @static
     */
    public function __getLazyProperties()
    {
        return self::$lazyPropertiesDefaults;
    }

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


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

        return parent::getIdTienda();
    }

    /**
     * {@inheritDoc}
     */
    public function setIdCiudad($idCiudad)
    {

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

        return parent::setIdCiudad($idCiudad);
    }

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

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

        return parent::getIdCiudad();
    }

    /**
     * {@inheritDoc}
     */
    public function setIdTiendaTipo($idTiendaTipo)
    {

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

        return parent::setIdTiendaTipo($idTiendaTipo);
    }

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

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

        return parent::getIdTiendaTipo();
    }

    /**
     * {@inheritDoc}
     */
    public function setCodigo($codigo)
    {

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

        return parent::setCodigo($codigo);
    }

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

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

        return parent::getCodigo();
    }

    /**
     * {@inheritDoc}
     */
    public function setNombre($nombre)
    {

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

        return parent::setNombre($nombre);
    }

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

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

        return parent::getNombre();
    }

    /**
     * {@inheritDoc}
     */
    public function setDireccion($direccion)
    {

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

        return parent::setDireccion($direccion);
    }

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

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

        return parent::getDireccion();
    }

    /**
     * {@inheritDoc}
     */
    public function setZipCode($zipCode)
    {

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

        return parent::setZipCode($zipCode);
    }

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

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

        return parent::getZipCode();
    }

    /**
     * {@inheritDoc}
     */
    public function setTelefono1($telefono1)
    {

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

        return parent::setTelefono1($telefono1);
    }

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

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

        return parent::getTelefono1();
    }

    /**
     * {@inheritDoc}
     */
    public function setTelefono2($telefono2)
    {

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

        return parent::setTelefono2($telefono2);
    }

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

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

        return parent::getTelefono2();
    }

    /**
     * {@inheritDoc}
     */
    public function setMoneda($moneda)
    {

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

        return parent::setMoneda($moneda);
    }

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

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

        return parent::getMoneda();
    }

    /**
     * {@inheritDoc}
     */
    public function setUrl($url)
    {

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

        return parent::setUrl($url);
    }

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

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

        return parent::getUrl();
    }

    /**
     * {@inheritDoc}
     */
    public function setWebservices($webservices)
    {

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

        return parent::setWebservices($webservices);
    }

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

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

        return parent::getWebservices();
    }

    /**
     * {@inheritDoc}
     */
    public function setPolizaVenta($polizaVenta)
    {

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

        return parent::setPolizaVenta($polizaVenta);
    }

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

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

        return parent::getPolizaVenta();
    }

    /**
     * {@inheritDoc}
     */
    public function setPolizaDevolucion($polizaDevolucion)
    {

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

        return parent::setPolizaDevolucion($polizaDevolucion);
    }

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

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

        return parent::getPolizaDevolucion();
    }

    /**
     * {@inheritDoc}
     */
    public function setPolizaSeparado($polizaSeparado)
    {

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

        return parent::setPolizaSeparado($polizaSeparado);
    }

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

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

        return parent::getPolizaSeparado();
    }

    /**
     * {@inheritDoc}
     */
    public function setNroFacturaIni($nroFacturaIni)
    {

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

        return parent::setNroFacturaIni($nroFacturaIni);
    }

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

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

        return parent::getNroFacturaIni();
    }

    /**
     * {@inheritDoc}
     */
    public function setVigenciaSeparado($vigenciaSeparado)
    {

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

        return parent::setVigenciaSeparado($vigenciaSeparado);
    }

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

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

        return parent::getVigenciaSeparado();
    }

    /**
     * {@inheritDoc}
     */
    public function setEstado($estado)
    {

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

        return parent::setEstado($estado);
    }

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

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

        return parent::getEstado();
    }

    /**
     * {@inheritDoc}
     */
    public function setBackgroundImage($backgroundImage)
    {

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

        return parent::setBackgroundImage($backgroundImage);
    }

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

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

        return parent::getBackgroundImage();
    }

    /**
     * {@inheritDoc}
     */
    public function setCreatedAt($createdAt)
    {

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

        return parent::setCreatedAt($createdAt);
    }

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

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

        return parent::getCreatedAt();
    }

    /**
     * {@inheritDoc}
     */
    public function setUpdatedAt($updatedAt)
    {

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

        return parent::setUpdatedAt($updatedAt);
    }

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

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

        return parent::getUpdatedAt();
    }

    /**
     * {@inheritDoc}
     */
    public function setDeletedAt($deletedAt)
    {

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

        return parent::setDeletedAt($deletedAt);
    }

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

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

        return parent::getDeletedAt();
    }

    /**
     * {@inheritDoc}
     */
    public function setCreatedBy($createdBy)
    {

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

        return parent::setCreatedBy($createdBy);
    }

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

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

        return parent::getCreatedBy();
    }

    /**
     * {@inheritDoc}
     */
    public function setUpdatedBy($updatedBy)
    {

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

        return parent::setUpdatedBy($updatedBy);
    }

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

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

        return parent::getUpdatedBy();
    }

    /**
     * {@inheritDoc}
     */
    public function setDeletedBy($deletedBy)
    {

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

        return parent::setDeletedBy($deletedBy);
    }

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

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

        return parent::getDeletedBy();
    }

    /**
     * {@inheritDoc}
     */
    public function setEmailNotificaciones($emailNotificaciones)
    {

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

        return parent::setEmailNotificaciones($emailNotificaciones);
    }

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

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

        return parent::getEmailNotificaciones();
    }

}
