Compare commits

..

2 Commits

Author SHA1 Message Date
llaniau b3135e62f5 modif Company 2020-06-30 14:52:15 +02:00
llaniau dc2872e178 modif entity company 2020-06-30 14:46:40 +02:00
@@ -203,7 +203,14 @@ class Company
* @Groups({"ad_list", "company_list", "company_detail"})
*/
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;
}
}