id; } /** * @param mixed $id */ public function setId( $id ) { $this->id = $id; } /** * @return mixed */ public function getUser() { return $this->user; } /** * @param mixed $user */ public function setUser( $user ) { $this->user = $user; } /** * @return mixed */ public function getCategory() { return $this->category; } /** * @param mixed $category */ public function setCategory( ProductCategory $category ) { $this->category = $category; } /** * Set sellRecords * * @param \AppBundle\Entity\SellRecord $sellRecords * * @return ProductSold */ public function setSellRecords( SellRecord $sellRecords = null ) { $this->sellRecords = $sellRecords; return $this; } /** * Get sellRecords * * @return \AppBundle\Entity\SellRecord */ public function getSellRecords() { return $this->sellRecords; } /** * Set product * * @param \AppBundle\Entity\Product $product * * @return ProductSold */ public function setProduct( Product $product = null ) { $this->product = $product; return $this; } /** * Get product * * @return \AppBundle\Entity\Product */ public function getProduct() { return $this->product; } }