Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * MachineCurrentCounter
- *
- * @ORM\Table(name="machine_current_counter")
- * @ORM\Entity
- */
- class MachineCurrentCounter
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="machine_id", type="integer")
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $machineId;
- /**
- * @var integer
- *
- * @ORM\Column(name="counter_value", type="integer", nullable=false)
- */
- private $counterValue;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="time_stamp", type="datetime", nullable=false)
- */
- private $timeStamp;
- /**
- * Get machineId
- *
- * @return integer
- */
- public function getMachineId()
- {
- return $this->machineId;
- }
- /**
- * Set counterValue
- *
- * @param integer $machineId
- * @return MachineCurrentCounter
- */
- public function setMachineId($machineId)
- {
- $this->machineId = $machineId;
- return $this;
- }
- /**
- * Set counterValue
- *
- * @param integer $counterValue
- * @return MachineCurrentCounter
- */
- public function setCounterValue($counterValue)
- {
- $this->counterValue = $counterValue;
- return $this;
- }
- /**
- * Get counterValue
- *
- * @return integer
- */
- public function getCounterValue()
- {
- return $this->counterValue;
- }
- /**
- * Set timeStamp
- *
- * @param \DateTime $timeStamp
- * @return MachineCurrentCounter
- */
- public function setTimeStamp($timeStamp)
- {
- $this->timeStamp = $timeStamp;
- return $this;
- }
- /**
- * Get timeStamp
- *
- * @return \DateTime
- */
- public function getTimeStamp()
- {
- return $this->timeStamp;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement