src/LogicItLab/Salesforce/MapperBundle/Model/AbstractModel.php
<?php
namespace LogicItLab\Salesforce\MapperBundle\Model;
use DateTime;
use LogicItLab\Salesforce\MapperBundle\Annotation as Salesforce;
/**
* Layer supertype for Salesforce objects
*
* @author Logic It Lab <team@logicitlab.com>
*/
abstract class AbstractModel
{
/**
* SObject ID
*
* @var string
* @Salesforce\Field(name="Id")
*/
protected $id;
/**
* @var User
*/
protected $createdBy;
/**
* @var string
*/
protected $createdById;
/**
* @var DateTime
* @Salesforce\Field(name="CreatedDate")
*/
protected $createdDate;
/**
* @var strng
* @Salesforce\Field(name="LastModifiedById")
*/
protected $lastModifiedById;
/**
* @var DateTime
* @Salesforce\Field(name="LastModifiedDate")
*/
protected $lastModifiedDate;
/**
* @var DateTime
* @Salesforce\Field(name="SystemModstamp")
*/
protected $systemModstamp;
/**
* @return string
*/
public function getId()
{
return $this->id;
}
public function setId($id)
{
$this->id = $id;
}
/**
* @return User
*/
public function getCreatedBy()
{
return $this->createdBy;
}
/**
* @return string
*/
public function getCreatedById()
{
return $this->createdById;
}
/**
* @return DateTime
*/
public function getCreatedDate()
{
return $this->createdDate;
}
/**
* @return string
*/
public function getLastModifiedById()
{
return $this->lastModifiedById;
}
/**
* @return DateTime
*/
public function getLastModifiedDate()
{
return $this->lastModifiedDate;
}
/**
* @return DateTime
*/
public function getSystemModstamp()
{
return $this->systemModstamp;
}
}