sellRecords = $sellRecords; return $this; } /** * Get sellRecords. * * @return \AppBundle\Entity\SellRecord|null */ public function getSellRecords() { return $this->sellRecords; } /** * Set product. * * @param \AppBundle\Entity\Product|null $product * * @return ProductSold */ public function setProduct( \AppBundle\Entity\Product $product = null ) { $this->product = $product; return $this; } /** * Get product. * * @return \AppBundle\Entity\Product|null */ public function getProduct() { return $this->product; } /** * Get id. * * @return int */ public function getId() { return $this->id; } /** * Set name. * * @param string $name * * @return ProductSold */ public function setName( $name ) { $this->name = $name; return $this; } /** * Get name. * * @return string */ public function getName() { return $this->name; } /** * Set image. * * @param string $image * * @return ProductSold */ public function setImage( $image ) { $this->image = $image; return $this; } /** * Get image. * * @return string */ public function getImage() { return $this->image; } /** * Set user. * * @param \AppBundle\Entity\User|null $user * * @return ProductSold */ public function setUser( \AppBundle\Entity\User $user = null ) { $this->user = $user; return $this; } /** * Get user. * * @return \AppBundle\Entity\User|null */ public function getUser() { return $this->user; } }