<?php

namespace Proxies\__CG__\BackendBundle\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Employees extends \BackendBundle\Entity\Employees 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\\Employees' . "\0" . 'idEmployee', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'empfullname', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'tstamp', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'employeePasswd', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'displayname', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'email', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'groups', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'office', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'admissionDate', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'attempts', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'currenttime', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'admin', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'reports', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'timeAdmin', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'disabled'];
        }

        return ['__isInitialized__', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'idEmployee', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'empfullname', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'tstamp', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'employeePasswd', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'displayname', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'email', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'groups', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'office', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'admissionDate', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'attempts', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'currenttime', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'admin', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'reports', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'timeAdmin', '' . "\0" . 'BackendBundle\\Entity\\Employees' . "\0" . 'disabled'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (Employees $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 getIdEmployee()
    {
        if ($this->__isInitialized__ === false) {
            return (int)  parent::getIdEmployee();
        }


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

        return parent::getIdEmployee();
    }

    /**
     * {@inheritDoc}
     */
    public function setEmpfullname($empfullname)
    {

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

        return parent::setEmpfullname($empfullname);
    }

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

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

        return parent::getEmpfullname();
    }

    /**
     * {@inheritDoc}
     */
    public function setTstamp($tstamp)
    {

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

        return parent::setTstamp($tstamp);
    }

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

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

        return parent::getTstamp();
    }

    /**
     * {@inheritDoc}
     */
    public function setEmployeePasswd($employeePasswd)
    {

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

        return parent::setEmployeePasswd($employeePasswd);
    }

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

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

        return parent::getEmployeePasswd();
    }

    /**
     * {@inheritDoc}
     */
    public function setDisplayname($displayname)
    {

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

        return parent::setDisplayname($displayname);
    }

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

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

        return parent::getDisplayname();
    }

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

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

        return parent::setEmail($email);
    }

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

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

        return parent::getEmail();
    }

    /**
     * {@inheritDoc}
     */
    public function setGroups($groups)
    {

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

        return parent::setGroups($groups);
    }

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

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

        return parent::getGroups();
    }

    /**
     * {@inheritDoc}
     */
    public function setOffice($office)
    {

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

        return parent::setOffice($office);
    }

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

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

        return parent::getOffice();
    }

    /**
     * {@inheritDoc}
     */
    public function setAdmissionDate($admissionDate)
    {

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

        return parent::setAdmissionDate($admissionDate);
    }

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

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

        return parent::getAdmissionDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setAttempts($attempts)
    {

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

        return parent::setAttempts($attempts);
    }

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

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

        return parent::getAttempts();
    }

    /**
     * {@inheritDoc}
     */
    public function setCurrenttime($currenttime)
    {

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

        return parent::setCurrenttime($currenttime);
    }

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

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

        return parent::getCurrenttime();
    }

    /**
     * {@inheritDoc}
     */
    public function setAdmin($admin)
    {

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

        return parent::setAdmin($admin);
    }

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

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

        return parent::getAdmin();
    }

    /**
     * {@inheritDoc}
     */
    public function setReports($reports)
    {

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

        return parent::setReports($reports);
    }

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

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

        return parent::getReports();
    }

    /**
     * {@inheritDoc}
     */
    public function setTimeAdmin($timeAdmin)
    {

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

        return parent::setTimeAdmin($timeAdmin);
    }

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

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

        return parent::getTimeAdmin();
    }

    /**
     * {@inheritDoc}
     */
    public function setDisabled($disabled)
    {

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

        return parent::setDisabled($disabled);
    }

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

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

        return parent::getDisabled();
    }

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

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

        return parent::__toString();
    }

}
