<?php
namespace App\MDS\GreenPatioBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ExternalUser
*
* @ORM\Table(name="external_user")
* @ORM\Entity(repositoryClass="App\MDS\GreenPatioBundle\Repository\ExternalUserRepository")
*/
class ExternalUser
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\Column(name="picture", type="string", length=255, nullable=true)
*
*/
private $picture;
/**
* @ORM\Column(name="username", type="string", length=255, nullable=true)
*/
private $username;
/**
* @ORM\Column(name="email", type="string", length=255, nullable=true)
*/
private $email;
/**
* @ORM\Column(name="name", type="string", length=255, nullable=true)
*/
private $name;
/**
* @ORM\Column(name="last_name", type="string", length=255, nullable=true)
*/
private $lastname;
/**
* @ORM\Column(name="telephone", type="string", length=255, nullable=true)
*/
private $telephone;
/**
* @ORM\Column(name="mobile", type="string", length=255, nullable=true)
*/
private $mobile;
/**
* @ORM\Column(name="id_office", type="integer", length=11, nullable=true)
*/
private $office;
/**
* @ORM\Column(name="status", type="boolean", nullable=true)
*/
private $status;
/**
* @ORM\Column(name="id_company", type="integer", length=11, nullable=true)
*/
private $company;
/**
* @ORM\Column(name="id_user_rol", type="integer", length=11, nullable=true)
*
*/
private $userrol;
/**
* @ORM\Column(name="id_team", type="integer", length=11, nullable=true)
*/
private $team;
/**
* @ORM\Column(name="team_leader", type="boolean", nullable=true)
*/
private $teamleader;
/**
* @ORM\Column(name="role", type="string", length=50)
*/
private $role;
/**
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
/**
* @var string
* @ORM\Column(name="job_title", type="string", length=255, nullable=true)
*/
private $jobTitle;
/**
* @var \DateTime
*
* @ORM\Column(name="createdAt", type="datetime")
*/
private $createdAt;
/**
* @var string
*
* @ORM\Column(name="createdBy", type="string", length=255)
*/
private $createdBy;
/**
* @var \DateTime
*
* @ORM\Column(name="updatedAt", type="datetime")
*/
private $updatedAt;
/**
* @var string
*
* @ORM\Column(name="updatedBy", type="string", length=255)
*/
private $updatedBy;
/**
* @var string
*
* @ORM\Column(name="price", type="string", length=20)
*/
private $price;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set picture
*
* @param string $picture
*
* @return ExternalUser
*/
public function setPicture($picture)
{
$this->picture = $picture;
return $this;
}
/**
* Get picture
*
* @return string
*/
public function getPicture()
{
return $this->picture;
}
/**
* Set username
*
* @param string $username
*
* @return ExternalUser
*/
public function setUsername($username)
{
$this->username = $username;
return $this;
}
/**
* Get username
*
* @return string
*/
public function getUsername()
{
return $this->username;
}
/**
* Set email
*
* @param string $email
*
* @return ExternalUser
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}
/**
* Get email
*
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* Set name
*
* @param string $name
*
* @return ExternalUser
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set lastname
*
* @param string $lastname
*
* @return ExternalUser
*/
public function setLastname($lastname)
{
$this->lastname = $lastname;
return $this;
}
/**
* Get lastname
*
* @return string
*/
public function getLastname()
{
return $this->lastname;
}
/**
* Set telephone
*
* @param string $telephone
*
* @return ExternalUser
*/
public function setTelephone($telephone)
{
$this->telephone = $telephone;
return $this;
}
/**
* Get telephone
*
* @return string
*/
public function getTelephone()
{
return $this->telephone;
}
/**
* Set mobile
*
* @param string $mobile
*
* @return ExternalUser
*/
public function setMobile($mobile)
{
$this->mobile = $mobile;
return $this;
}
/**
* Get mobile
*
* @return string
*/
public function getMobile()
{
return $this->mobile;
}
/**
* Set office
*
* @param integer $office
*
* @return ExternalUser
*/
public function setOffice($office)
{
$this->office = $office;
return $this;
}
/**
* Get office
*
* @return integer
*/
public function getOffice()
{
return $this->office;
}
/**
* Set status
*
* @param boolean $status
*
* @return ExternalUser
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Get status
*
* @return boolean
*/
public function getStatus()
{
return $this->status;
}
/**
* Set company
*
* @param integer $company
*
* @return ExternalUser
*/
public function setCompany($company)
{
$this->company = $company;
return $this;
}
/**
* Get company
*
* @return integer
*/
public function getCompany()
{
return $this->company;
}
/**
* Set userrol
*
* @param integer $userrol
*
* @return ExternalUser
*/
public function setUserrol($userrol)
{
$this->userrol = $userrol;
return $this;
}
/**
* Get userrol
*
* @return integer
*/
public function getUserrol()
{
return $this->userrol;
}
/**
* Set team
*
* @param integer $team
*
* @return ExternalUser
*/
public function setTeam($team)
{
$this->team = $team;
return $this;
}
/**
* Get team
*
* @return integer
*/
public function getTeam()
{
return $this->team;
}
/**
* Set teamleader
*
* @param boolean $teamleader
*
* @return ExternalUser
*/
public function setTeamleader($teamleader)
{
$this->teamleader = $teamleader;
return $this;
}
/**
* Get teamleader
*
* @return boolean
*/
public function getTeamleader()
{
return $this->teamleader;
}
/**
* Set role
*
* @param string $role
*
* @return ExternalUser
*/
public function setRole($role)
{
$this->role = $role;
return $this;
}
/**
* Get role
*
* @return string
*/
public function getRole()
{
return $this->role;
}
/**
* Set description
*
* @param string $description
*
* @return ExternalUser
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set jobTitle
*
* @param string $jobTitle
*
* @return ExternalUser
*/
public function setJobTitle($jobTitle)
{
$this->jobTitle = $jobTitle;
return $this;
}
/**
* Get jobTitle
*
* @return string
*/
public function getJobTitle()
{
return $this->jobTitle;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return ExternalUser
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set createdBy
*
* @param string $createdBy
*
* @return ExternalUser
*/
public function setCreatedBy($createdBy)
{
$this->createdBy = $createdBy;
return $this;
}
/**
* Get createdBy
*
* @return string
*/
public function getCreatedBy()
{
return $this->createdBy;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return ExternalUser
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* Set updatedBy
*
* @param string $updatedBy
*
* @return ExternalUser
*/
public function setUpdatedBy($updatedBy)
{
$this->updatedBy = $updatedBy;
return $this;
}
/**
* Get updatedBy
*
* @return string
*/
public function getUpdatedBy()
{
return $this->updatedBy;
}
/**
* Set price
*
* @param string $price
*
* @return ExternalUser
*/
public function setPrice($price)
{
$this->price = $price;
return $this;
}
/**
* Get price
*
* @return string
*/
public function getPrice()
{
return $this->price;
}
}