| Current Path : /var/www/v3.cesa.co.za/src/MemberBundle/Entity/ |
| Current File : /var/www/v3.cesa.co.za/src/MemberBundle/Entity/HRForum.php |
<?php
namespace App\MemberBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\MemberBundle\Repository\HRForumRepository")
* @ORM\Table(name="HRForum")
*/
class HRForum
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer", name="HRForumID")
*/
private $hrForumID;
/**
* @ORM\Column(type="string", length=255, nullable=true, name="FirstName")
*/
private $firstName;
/**
* @ORM\Column(type="string", length=255, nullable=true, name="Surname")
*/
private $surname;
/**
* @ORM\Column(type="string", length=255, nullable=true, name="Company")
*/
private $company;
/**
* @ORM\Column(type="string", length=255, nullable=true, name="Email")
*/
private $email;
/**
* @ORM\Column(type="string", length=255, nullable=true, name="Telephone")
*/
private $telephone;
/**
* @ORM\Column(type="string", length=255, nullable=true, name="Mobile")
*/
private $mobile;
/**
* @ORM\Column(type="boolean", name="Subscribed", options={"default": 1})
*/
private $subscribed = true;
/**
* @ORM\Column(type="text", nullable=true, name="Comments")
*/
private $comments;
/**
* @ORM\Column(type="string", length=255, nullable=true, name="CompanyPosition")
*/
private $companyPosition;
/**
* @ORM\Column(type="integer", nullable=true, name="FirmID")
*/
private $firmID;
/**
* Get hrForumID
*
* @return integer
*/
public function getHrForumID()
{
return $this->hrForumID;
}
/**
* Set firstName
*
* @param string $firstName
* @return HRForum
*/
public function setFirstName($firstName)
{
$this->firstName = $firstName;
return $this;
}
/**
* Get firstName
*
* @return string
*/
public function getFirstName()
{
return $this->firstName;
}
/**
* Set surname
*
* @param string $surname
* @return HRForum
*/
public function setSurname($surname)
{
$this->surname = $surname;
return $this;
}
/**
* Get surname
*
* @return string
*/
public function getSurname()
{
return $this->surname;
}
/**
* Set company
*
* @param string $company
* @return HRForum
*/
public function setCompany($company)
{
$this->company = $company;
return $this;
}
/**
* Get company
*
* @return string
*/
public function getCompany()
{
return $this->company;
}
/**
* Set email
*
* @param string $email
* @return HRForum
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}
/**
* Get email
*
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* Set telephone
*
* @param string $telephone
* @return HRForum
*/
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 HRForum
*/
public function setMobile($mobile)
{
$this->mobile = $mobile;
return $this;
}
/**
* Get mobile
*
* @return string
*/
public function getMobile()
{
return $this->mobile;
}
/**
* Set subscribed
*
* @param boolean $subscribed
* @return HRForum
*/
public function setSubscribed($subscribed)
{
$this->subscribed = $subscribed;
return $this;
}
/**
* Get subscribed
*
* @return boolean
*/
public function getSubscribed()
{
return $this->subscribed;
}
/**
* Set comments
*
* @param string $comments
* @return HRForum
*/
public function setComments($comments)
{
$this->comments = $comments;
return $this;
}
/**
* Get comments
*
* @return string
*/
public function getComments()
{
return $this->comments;
}
/**
* Set companyPosition
*
* @param string $companyPosition
* @return HRForum
*/
public function setCompanyPosition($companyPosition)
{
$this->companyPosition = $companyPosition;
return $this;
}
/**
* Get companyPosition
*
* @return string
*/
public function getCompanyPosition()
{
return $this->companyPosition;
}
/**
* Set firmID
*
* @param integer $firmID
* @return HRForum
*/
public function setFirmID($firmID)
{
$this->firmID = $firmID;
return $this;
}
/**
* Get firmID
*
* @return integer
*/
public function getFirmID()
{
return $this->firmID;
}
/**
* Get full name
*
* @return string
*/
public function getFullName()
{
return trim($this->firstName . ' ' . $this->surname);
}
/**
* String representation of the entity
*
* @return string
*/
public function __toString()
{
return $this->getFullName() ?: 'HR Forum Member';
}
}