<?php
namespace Bill\Entity;

use Doctrine\ORM\Mapping as ORM;
use Bill\Entity\Bill;

/**
 * This class represents a registered Bill.
 * @ORM\Entity()
 * @ORM\Table(name="Bill")
 */
class Bill
{
    // Bill status constants.
    /*const STATUS_ACTIVE       = 1; // Active Bill.
    const STATUS_RETIRED      = 2; // Retired Bill.
    */
    /**
     * @ORM\Id
     * @ORM\Column(name="id")
     * @ORM\GeneratedValue
   	*/
   
   
	protected $id;

    /** 
     * @ORM\Column(name="date")  
     */
    protected $date;
    
    /** 
     * @ORM\Column(name="value")  
     */
    protected $value;
	
	 /** 
     * @ORM\Column(name="image")  
     */
    protected $name;


    
    /**
     * @ORM\Column(name="service_id")  
     */
    protected $serviceid;
        
	/**
     * Returns id.     
     * @return int
     */
   
    public function getId() 
    {
        return $this->id;
    }

    /**
     * Sets Bill ID. 
     * @param int $id    
     */
    public function setId($id) 
    {
        $this->id = $id;
    }

    /**
     * Returns date.     
     * @return date
     */
    public function getDate() 
    {
        return $this->date;
    }

    /**
     * Sets date.     
     * @param date $date
     */
    public function setDate($date) 
    {
        $this->date = $date;
    }
    
    /**
     * Returns value.
     * @return value     
     */
    public function getValue() 
    {
        return $this->value;
    }       

    /**
     * Sets value.
     * @param value $value
     */
    public function setValue($value) 
    {
        $this->value = $value;
    }
	
	/**
     * Returns name.     
     * @return name
     */
   
    public function getName() 
    {
        return $this->name;
    }

    /**
     * Sets Bill name. 
     * @param string $name    
     */
    public function setName($name) 
    {
        $this->name = $name;
    }
	
	/**
     * Returns serviceid.
     * @return int     
     */
	
	 public function getServiceid() 
    {
        return $this->serviceid;
    }       

    /**
     * Sets serviceid.
     * @param int $serviceid
     */
    public function setServiceid($serviceid) 
    {
        $this->serviceid = $serviceid;
    }
    
   
}



