src/LogicItLab/Salesforce/MapperBundle/Model/Product.php
<?php
namespace LogicItLab\Salesforce\MapperBundle\Model;
use LogicItLab\Salesforce\MapperBundle\Annotation as Salesforce;
/**
* Salesforce standard task object
*
* @Salesforce\SObject(name="Product2")
*/
class Product extends AbstractModel
{
/**
* @var string
* @Salesforce\Field(name="Name")
*/
protected $name;
/**
* @var string
* @Salesforce\Field(name="Description")
*/
protected $description;
/**
* Product family
*
* @var string
* @Salesforce\Field(name="Family")
*/
protected $family;
/**
* @var boolean
* @Salesforce\Field(name="IsActive")
*/
protected $isActive;
public function getName()
{
return $this->name;
}
public function setName($name)
{
$this->name = $name;
}
public function getDescription()
{
return $this->description;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getFamily()
{
return $this->family;
}
public function setFamily($family)
{
$this->family = $family;
}
public function getIsActive()
{
return $this->isActive;
}
public function isActive()
{
return $this->getIsActive();
}
public function setIsActive($isActive)
{
$this->isActive = $isActive;
}
}