for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Entity Company.
*
* PHP Version 7
* @author Quétier Laurent <[email protected]>
* @copyright 2014 Dev-Int GLSR
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version GIT: <git_id>
* @link https://github.com/Dev-Int/glsr
*/
namespace App\Entity\Settings;
use Doctrine\ORM\Mapping as ORM;
use App\Entity\Contact;
* Company Entity.
* @category Entity
* @ORM\Table(name="gs_company")
* @ORM\Entity(repositoryClass="App\Repository\Settings\CompanyRepository")
class Company extends Contact
{
* @var int $cpId company ID
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
private $cpId;
* @var string $status Status of the company
* @ORM\Column(name="status", type="string", length=255)
private $status;
* Get id
* @return integer
public function getId()
return $this->cpId;
}
* Set status.
* @param string $status Statut juridique
* @return Company
public function setStatus($status)
$this->status = $status;
return $this;
* Get status.
* @return string
public function getStatus()
return $this->status;