File: /home/undanet/www/PortalEmpleo/src/Entity/WpUsers.php
<?php
namespace PortalEmpleo\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* WpUsers
*
* @ORM\Table(name="wp_users", indexes={@ORM\Index(name="user_email", columns={"user_email"}), @ORM\Index(name="user_login_key", columns={"user_login"}), @ORM\Index(name="user_nicename", columns={"user_nicename"})})
* @ORM\Entity
*/
class WpUsers
{
/**
* @var int
*
* @ORM\Column(name="ID", type="bigint", nullable=false, options={"unsigned"=true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="user_login", type="string", length=60, nullable=false)
*/
private $userLogin = '';
/**
* @var string
*
* @ORM\Column(name="user_pass", type="string", length=255, nullable=false)
*/
private $userPass = '';
/**
* @var string
*
* @ORM\Column(name="user_nicename", type="string", length=50, nullable=false)
*/
private $userNicename = '';
/**
* @var string
*
* @ORM\Column(name="user_email", type="string", length=100, nullable=false)
*/
private $userEmail = '';
/**
* @var string
*
* @ORM\Column(name="user_url", type="string", length=100, nullable=false)
*/
private $userUrl = '';
/**
* @var \DateTime
*
* @ORM\Column(name="user_registered", type="datetime", nullable=false, options={"default"="0000-00-00 00:00:00"})
*/
private $userRegistered = '0000-00-00 00:00:00';
/**
* @var string
*
* @ORM\Column(name="user_activation_key", type="string", length=255, nullable=false)
*/
private $userActivationKey = '';
/**
* @var int
*
* @ORM\Column(name="user_status", type="integer", nullable=false)
*/
private $userStatus = '0';
/**
* @var string
*
* @ORM\Column(name="display_name", type="string", length=250, nullable=false)
*/
private $displayName = '';
public function __construct()
{
}
/**
* Get the value of id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set the value of id
*
* @param int $id
*
* @return self
*/
public function setId(int $id)
{
$this->id = $id;
return $this;
}
/**
* Get the value of userLogin
*
* @return string
*/
public function getUserLogin()
{
return $this->userLogin;
}
/**
* Set the value of userLogin
*
* @param string $userLogin
*
* @return self
*/
public function setUserLogin(string $userLogin)
{
$this->userLogin = $userLogin;
return $this;
}
/**
* Get the value of userPass
*
* @return string
*/
public function getUserPass()
{
return $this->userPass;
}
/**
* Set the value of userPass
*
* @param string $userPass
*
* @return self
*/
public function setUserPass(string $userPass)
{
$this->userPass = $userPass;
return $this;
}
/**
* Get the value of userNicename
*
* @return string
*/
public function getUserNicename()
{
return $this->userNicename;
}
/**
* Set the value of userNicename
*
* @param string $userNicename
*
* @return self
*/
public function setUserNicename(string $userNicename)
{
$this->userNicename = $userNicename;
return $this;
}
/**
* Get the value of userEmail
*
* @return string
*/
public function getUserEmail()
{
return $this->userEmail;
}
/**
* Set the value of userEmail
*
* @param string $userEmail
*
* @return self
*/
public function setUserEmail(string $userEmail)
{
$this->userEmail = $userEmail;
return $this;
}
/**
* Get the value of userUrl
*
* @return string
*/
public function getUserUrl()
{
return $this->userUrl;
}
/**
* Set the value of userUrl
*
* @param string $userUrl
*
* @return self
*/
public function setUserUrl(string $userUrl)
{
$this->userUrl = $userUrl;
return $this;
}
/**
* Get the value of userRegistered
*
* @return \DateTime
*/
public function getUserRegistered()
{
return $this->userRegistered;
}
/**
* Set the value of userRegistered
*
* @param \DateTime $userRegistered
*
* @return self
*/
public function setUserRegistered(\DateTime $userRegistered)
{
$this->userRegistered = $userRegistered;
return $this;
}
/**
* Get the value of userActivationKey
*
* @return string
*/
public function getUserActivationKey()
{
return $this->userActivationKey;
}
/**
* Set the value of userActivationKey
*
* @param string $userActivationKey
*
* @return self
*/
public function setUserActivationKey(string $userActivationKey)
{
$this->userActivationKey = $userActivationKey;
return $this;
}
/**
* Get the value of userStatus
*
* @return int
*/
public function getUserStatus()
{
return $this->userStatus;
}
/**
* Set the value of userStatus
*
* @param int $userStatus
*
* @return self
*/
public function setUserStatus(int $userStatus)
{
$this->userStatus = $userStatus;
return $this;
}
/**
* Get the value of displayName
*
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Set the value of displayName
*
* @param string $displayName
*
* @return self
*/
public function setDisplayName(string $displayName)
{
$this->displayName = $displayName;
return $this;
}
}