Files
kimai/src/AppBundle/Entity/KimaiFixedrates.php
2016-10-20 23:25:08 +02:00

114 lines
1.8 KiB
PHP

<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* KimaiFixedrates
*
* @ORM\Table(name="fixedRates")
* @ORM\Entity
*/
class KimaiFixedrates
{
/**
* @var string
*
* @ORM\Column(name="rate", type="decimal", precision=10, scale=2, nullable=false)
*/
private $rate;
/**
* @var integer
*
* @ORM\Column(name="projectID", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $projectid;
/**
* @var integer
*
* @ORM\Column(name="activityID", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $activityid;
/**
* Set rate
*
* @param string $rate
*
* @return KimaiFixedrates
*/
public function setRate($rate)
{
$this->rate = $rate;
return $this;
}
/**
* Get rate
*
* @return string
*/
public function getRate()
{
return $this->rate;
}
/**
* Set projectid
*
* @param integer $projectid
*
* @return KimaiFixedrates
*/
public function setProjectid($projectid)
{
$this->projectid = $projectid;
return $this;
}
/**
* Get projectid
*
* @return integer
*/
public function getProjectid()
{
return $this->projectid;
}
/**
* Set activityid
*
* @param integer $activityid
*
* @return KimaiFixedrates
*/
public function setActivityid($activityid)
{
$this->activityid = $activityid;
return $this;
}
/**
* Get activityid
*
* @return integer
*/
public function getActivityid()
{
return $this->activityid;
}
}