image; } /** * @param mixed $image */ public function setImage( $image ) { $this->image = $image; } /** * @return mixed */ public function getUser() { return $this->user; } /** * @param mixed $user */ public function setUser( $user ) { $this->user = $user; } /** * @return mixed */ public function getId() { return $this->id; } /** * @param mixed $id */ public function setId( $id ) { $this->id = $id; } /** * @return mixed */ public function getName() { return $this->name; } /** * @param mixed $name */ public function setName( $name ) { $this->name = $name; } /** * @return mixed */ public function getPrice() { return $this->price; } /** * @param mixed $price */ public function setPrice( $price ) { $this->price = $price; } /** * @return mixed */ public function getCategory() { return $this->category; } /** * @param ProductCategory $category */ public function setCategory( ProductCategory $category ) { $this->category = $category; } /** * Constructor */ public function __construct() { $this->sellRecords = new \Doctrine\Common\Collections\ArrayCollection(); } /** * Add sellRecord * * @param \AppBundle\Entity\SellRecord $sellRecord * * @return Product */ public function addSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) { $this->sellRecords[] = $sellRecord; return $this; } }