<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 *
 * @license see /license.txt
 * @author autogenerated
 */
class TrackCReferers extends \Entity
{
    /**
     * @return \Entity\Repository\TrackCReferersRepository
     */
     public static function repository(){
        return \Entity\Repository\TrackCReferersRepository::instance();
    }

    /**
     * @return \Entity\TrackCReferers
     */
     public static function create(){
        return new self();
    }

    /**
     * @var integer $id
     */
    protected $id;

    /**
     * @var string $referer
     */
    protected $referer;

    /**
     * @var integer $counter
     */
    protected $counter;


    /**
     * Get id
     *
     * @return integer 
     */
    public function get_id()
    {
        return $this->id;
    }

    /**
     * Set referer
     *
     * @param string $value
     * @return TrackCReferers
     */
    public function set_referer($value)
    {
        $this->referer = $value;
        return $this;
    }

    /**
     * Get referer
     *
     * @return string 
     */
    public function get_referer()
    {
        return $this->referer;
    }

    /**
     * Set counter
     *
     * @param integer $value
     * @return TrackCReferers
     */
    public function set_counter($value)
    {
        $this->counter = $value;
        return $this;
    }

    /**
     * Get counter
     *
     * @return integer 
     */
    public function get_counter()
    {
        return $this->counter;
    }
}