Advertisement
Guest User

MachineCurrentCounter

a guest
May 6th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.84 KB | None | 0 0
  1. /**
  2.  * MachineCurrentCounter
  3.  *
  4.  * @ORM\Table(name="machine_current_counter")
  5.  * @ORM\Entity
  6.  */
  7. class MachineCurrentCounter
  8. {
  9.     /**
  10.      * @var integer
  11.      *
  12.      * @ORM\Column(name="machine_id", type="integer")
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue(strategy="IDENTITY")
  15.      */
  16.     private $machineId;
  17.  
  18.     /**
  19.      * @var integer
  20.      *
  21.      * @ORM\Column(name="counter_value", type="integer", nullable=false)
  22.      */
  23.     private $counterValue;
  24.  
  25.     /**
  26.      * @var \DateTime
  27.      *
  28.      * @ORM\Column(name="time_stamp", type="datetime", nullable=false)
  29.      */
  30.     private $timeStamp;
  31.  
  32.  
  33.  
  34.     /**
  35.      * Get machineId
  36.      *
  37.      * @return integer
  38.      */
  39.     public function getMachineId()
  40.     {
  41.         return $this->machineId;
  42.     }
  43.  
  44.     /**
  45.      * Set counterValue
  46.      *
  47.      * @param integer $machineId
  48.      * @return MachineCurrentCounter
  49.      */
  50.     public function setMachineId($machineId)
  51.     {
  52.         $this->machineId = $machineId;
  53.  
  54.         return $this;
  55.     }
  56.  
  57.     /**
  58.      * Set counterValue
  59.      *
  60.      * @param integer $counterValue
  61.      * @return MachineCurrentCounter
  62.      */
  63.     public function setCounterValue($counterValue)
  64.     {
  65.         $this->counterValue = $counterValue;
  66.  
  67.         return $this;
  68.     }
  69.  
  70.     /**
  71.      * Get counterValue
  72.      *
  73.      * @return integer
  74.      */
  75.     public function getCounterValue()
  76.     {
  77.         return $this->counterValue;
  78.     }
  79.  
  80.     /**
  81.      * Set timeStamp
  82.      *
  83.      * @param \DateTime $timeStamp
  84.      * @return MachineCurrentCounter
  85.      */
  86.     public function setTimeStamp($timeStamp)
  87.     {
  88.         $this->timeStamp = $timeStamp;
  89.  
  90.         return $this;
  91.     }
  92.  
  93.     /**
  94.      * Get timeStamp
  95.      *
  96.      * @return \DateTime
  97.      */
  98.     public function getTimeStamp()
  99.     {
  100.         return $this->timeStamp;
  101.     }
  102. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement