<?php

namespace Entities;

use Doctrine\ORM\Mapping as ORM;

/**
 * Entities\Cvpdf
 */
class Cvpdf
{
    /**
     * @var integer $id
     */
    protected $id;

    /**
     * @var Entities\Resource
     */
    protected $resource;


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

    /**
     * Set resource
     *
     * @param Entities\Resource $resource
     * @return Cvpdf
     */
    public function setResource(\Entities\Resource $resource = null)
    {
        $this->resource = $resource;
        return $this;
    }

    /**
     * Get resource
     *
     * @return Entities\Resource 
     */
    public function getResource()
    {
        return $this->resource;
    }
}