modif entity company

This commit is contained in:
2020-06-30 14:46:40 +02:00
parent cf057c9c63
commit dc2872e178
@@ -204,6 +204,13 @@ class Company
*/
private $countAds;
/**
* @var string $test
* @ORM\Column(name="test", type="string", nullable=true)
*/
private $test;
/***********************
* Constructor
***********************/
@@ -213,6 +220,9 @@ class Company
$this->products = new \Doctrine\Common\Collections\ArrayCollection();
$this->users = new \Doctrine\Common\Collections\ArrayCollection();
$this->ads = new \Doctrine\Common\Collections\ArrayCollection();
//$this->territories = new \Doctrine\Common\Collections\ArrayCollection();
// $this->children = new \Doctrine\Common\Collections\ArrayCollection();
// $this->parent = new \Doctrine\Common\Collections\ArrayCollection();
$this->emphasis = false;
}
@@ -929,4 +939,28 @@ class Company
{
return count($this->getPublishedAds());
}
/**
* Get $test
*
* @return string
*/
public function getTest()
{
return $this->test;
}
/**
* Set $test
*
* @param string $test $test
*
* @return self
*/
public function setTest(string $test)
{
$this->test = $test;
return $this;
}
}