Compare commits
2 Commits
cf057c9c63
...
b3135e62f5
| Author | SHA1 | Date | |
|---|---|---|---|
| b3135e62f5 | |||
| dc2872e178 |
@@ -203,7 +203,14 @@ class Company
|
|||||||
* @Groups({"ad_list", "company_list", "company_detail"})
|
* @Groups({"ad_list", "company_list", "company_detail"})
|
||||||
*/
|
*/
|
||||||
private $countAds;
|
private $countAds;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string $test
|
||||||
|
* @ORM\Column(name="test", type="string", nullable=true)
|
||||||
|
*/
|
||||||
|
private $test;
|
||||||
|
|
||||||
/***********************
|
/***********************
|
||||||
* Constructor
|
* Constructor
|
||||||
***********************/
|
***********************/
|
||||||
@@ -213,6 +220,9 @@ class Company
|
|||||||
$this->products = new \Doctrine\Common\Collections\ArrayCollection();
|
$this->products = new \Doctrine\Common\Collections\ArrayCollection();
|
||||||
$this->users = new \Doctrine\Common\Collections\ArrayCollection();
|
$this->users = new \Doctrine\Common\Collections\ArrayCollection();
|
||||||
$this->ads = 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;
|
$this->emphasis = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -929,4 +939,28 @@ class Company
|
|||||||
{
|
{
|
||||||
return count($this->getPublishedAds());
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user