<?php
namespace Diplix\KMGBundle\Entity\Accounting;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity()
*
*/
class BillingForMember extends Billing
{
/**
* @ORM\OneToMany(targetEntity="Diplix\KMGBundle\Entity\Accounting\Job", mappedBy="billingForMember")
* @ORM\OrderBy({"orderTime" = "ASC"})
*/
protected $jobList;
//////////////////////////////////////////////////
public function __construct()
{
$this->jobList = new ArrayCollection();
}
public function getType()
{
return Billing::TYPE_MEMBER;
}
/**
* @return ArrayCollection|Job[]
*/
public function getJobList()
{
return $this->jobList;
}
/**
* @param ArrayCollection $jobList
*/
public function setJobList($jobList)
{
$this->jobList = $jobList;
}
}