Created
November 30, 2015 11:54
-
-
Save allyjweir/a79b7ed2e298cf6f648c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace RevenueCenter; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @ORM\Entity | |
* @ORM\Table(name="simulate_heart_revenue_center.SalesLog") | |
**/ | |
class SalesLog { | |
/** | |
* @ORM\Column(name="SalesLogID", type="integer", nullable=false) | |
* @ORM\Id | |
* @ORM\GeneratedValue(strategy="IDENTITY") | |
**/ | |
private $id; | |
/** | |
* @var \Heart\Contact | |
* | |
* @ORM\ManyToOne(targetEntity="Heart\Contact") | |
* @ORM\JoinColumn(name="HeartContactID", referencedColumnName="ContactID") | |
**/ | |
private $contact; | |
/** | |
* @ORM\Column(name="DateAdded", type="datetime", nullable=false) | |
**/ | |
private $dateAdded; | |
/** | |
* @ORM\Column(name="DateClosed", type="datetime", nullable=false) | |
**/ | |
private $dateClosed; | |
/** | |
* @ORM\Column(name="Value", type="float", nullable=false) | |
**/ | |
private $value; | |
/** | |
* @var \RevenueCenter\Probability | |
* | |
* @ORM\ManyToOne(targetEntity="RevenueCenter\Probability", inversedBy="sales") | |
* @ORM\JoinColumn(name="ProbabilityID", referencedColumnName="ProbabilityID") | |
**/ | |
private $probability; | |
/** | |
* @ORM\Column(name="ExpectedMonth", type="datetime", nullable=false) | |
**/ | |
private $expectedMonth; | |
/** | |
* @ORM\Column(name="ExpectedYear", type="datetime", nullable=false) | |
**/ | |
private $expectedYear; | |
/** | |
* @ORM\Column(name="ExistingCustomer", type="boolean", nullable=false) | |
**/ | |
private $existingCustomer; | |
/** | |
* @ORM\Column(name="Bundle", type="boolean") | |
**/ | |
private $bundle; | |
/** | |
* @ORM\Column(name="Healthcare", type="boolean", nullable=false) | |
**/ | |
private $healthcare; | |
/** | |
* @ORM\Column(name="Archived", type="boolean", nullable=false) | |
**/ | |
private $archived; | |
/*********************************************/ | |
/** | |
* @ORM\Column(name="ResellerShare", type="float", nullable=false) | |
**/ | |
private $resellerShare; | |
/** | |
* @var \RevenueCenter\SaleType | |
* | |
* @ORM\ManyToOne(targetEntity="RevenueCenter\SaleType") | |
* @ORM\JoinColumn(name="SaleTypeID", referencedColumnName="SaleTypeID") | |
**/ | |
private $saleType; | |
/** | |
* @var \RevenueCenter\LostReason | |
* | |
* @ORM\ManyToOne(targetEntity="RevenueCenter\LostReason") | |
* @ORM\JoinColumn(name="LostReasonID", referencedColumnName="LostReasonID") | |
**/ | |
private $lostReason; | |
/** | |
* @var \RevenueCenter\Effort | |
* | |
* @ORM\ManyToOne(targetEntity="RevenueCenter\Effort") | |
* @ORM\JoinColumn(name="EffortID", referencedColumnName="EffortID") | |
**/ | |
private $effort; | |
/*********************************************/ | |
public function getId() { return $this->id; } | |
public function getContact() { return $this->contact; } | |
public function getDateAdded() { return $this->dateAdded; } | |
public function getDateClosed() { return $this->dateClosed; } | |
public function getValue() { return $this->value; } | |
public function getProbability() { return $this->probability; } | |
public function getExpectedMonth() { return $this->expectedMonth; } | |
public function getExpectedYear() { return $this->expectedYear; } | |
public function isExistingCustomer() { return $this->existingCustomer; } | |
public function isBundle() { return $this->bundle; } | |
public function isHealthcare() { return $this->healthcare; } | |
public function isArchived() { return $this->archived; } | |
public function getInvoice() { return $this->invoice; } | |
public function getResellerShare() { return $this->resellerShare; } | |
public function getReseller() { return $this->reseller; } | |
public function getSaleType() { return $this->saleType; } | |
public function getLostReason() { return $this->lostReason; } | |
public function getEffort() { return $this->effort; } | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment