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