<?php

namespace App\Entity;

use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Validator\ExecutionContext;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\HttpFoundation\File\File;
use App\Entity\User;
use App\Entity\Document;
use App\EntityProfile;
use App\Entity\Category;

use JMS\Serializer\Annotation\ExclusionPolicy;
use JMS\Serializer\Annotation\Expose;
use JMS\Serializer\Annotation\Groups;
use JMS\Serializer\Annotation\VirtualProperty;

/**
 * @ORM\Table(name="profile_category")
 * @ORM\Entity
 * @ORM\Entity(repositoryClass="App\Entity\ProfileCategoryRepository")
 * @ORM\HasLifecycleCallbacks
 * @ExclusionPolicy("all") 
 */
class ProfileCategory
{
    /**
     * @ORM\Column(type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     * @Expose
     */
    protected $id;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\Profile")
     * @ORM\JoinColumn(name="profile_id", referencedColumnName="id")
     **/
    protected $profile;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\Category")
     * @ORM\JoinColumn(name="category_id", referencedColumnName="id")
     * @Expose
     **/
    protected $category;

    /**
     * @var string $pricePerHour
     *
     * @ORM\Column(name="price_per_hour", type="float", nullable=true)
     * @Expose
     */
    private $pricePerHour;


    /**
     * @var string $priceMin
     *
     * @ORM\Column(name="min", type="float", nullable=true)
     * @Expose
     */
    private $min;


    /**
     * @var string $priceMax
     *
     * @ORM\Column(name="max", type="float", nullable=true)
     * @Expose
     */
    private $max;

    /**
     * @var string $content
     *
     * @ORM\Column(name="content", type="text", nullable=true)
     * @Expose
     */
    private $content;    

    /**
     * @var integer
     *
     * @ORM\Column(name="first_hour", type="integer", nullable=true)
     * @Expose     
     */
    private $firstHour;

    /**
     * @var integer
     *
     * @ORM\Column(name="webcam", type="integer", nullable=true)
     * @Expose     
     */
    private $webcam;


    /**
     * @var integer
     *
     * @ORM\Column(name="out_place", type="integer", nullable=true)
     * @Expose     
     */
    private $outPlace;

    /**
     * @var integer
     *
     * @ORM\Column(name="in_place", type="integer", nullable=true)
     * @Expose     
     */
    private $inPlace;


    /**
     * @var integer
     *
     * @ORM\Column(name="primaire", type="integer", nullable=true)
     * @Expose     
     */
    private $primaire;


    /**
     * @var integer
     *
     * @ORM\Column(name="lycee", type="integer", nullable=true)
     * @Expose     
     */
    private $lycee;


    /**
     * @var integer
     *
     * @ORM\Column(name="college", type="integer", nullable=true)
     * @Expose     
     */
    private $college;


    /**
     * @var integer
     *
     * @ORM\Column(name="superieur", type="integer", nullable=true)
     * @Expose     
     */
    private $superieur;



    /**
     * @var integer
     *
     * @ORM\Column(name="status", type="integer", nullable=true)
     * @Expose     
     */
    private $status;

 

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set status
     *
     * @param boolean $status
     *
     * @return ProfileCategory
     */
    public function setStatus($status)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * Get status
     *
     * @return boolean
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set profile
     *
     * @param \App\Entity\Profile $profile
     *
     * @return ProfileCategory
     */
    public function setProfile(\App\Entity\Profile $profile = null)
    {
        $this->profile = $profile;

        return $this;
    }

    /**
     * Get profile
     *
     * @return \App\Entity\Profile
     */
    public function getProfile()
    {
        return $this->profile;
    }

    /**
     * Set category
     *
     * @param \App\Entity\Category $category
     *
     * @return ProfileCategory
     */
    public function setCategory(\App\Entity\Category $category = null)
    {
        $this->category = $category;

        return $this;
    }

    /**
     * Get category
     *
     * @return \App\Entity\Category
     */
    public function getCategory()
    {
        return $this->category;
    }

    /**
     * Set pricePerHour
     *
     * @param float $pricePerHour
     *
     * @return ProfileCategory
     */
    public function setPricePerHour($pricePerHour)
    {
        $this->pricePerHour = $pricePerHour;

        return $this;
    }

    /**
     * Get pricePerHour
     *
     * @return float
     */
    public function getPricePerHour()
    {
        return $this->pricePerHour;
    }

    /**
     * Set content
     *
     * @param string $content
     *
     * @return ProfileCategory
     */
    public function setContent($content)
    {
        $this->content = $content;

        return $this;
    }

    /**
     * Get content
     *
     * @return string
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * Set firstHour
     *
     * @param integer $firstHour
     *
     * @return ProfileCategory
     */
    public function setFirstHour($firstHour)
    {
        $this->firstHour = $firstHour;

        return $this;
    }

    /**
     * Get firstHour
     *
     * @return integer
     */
    public function getFirstHour()
    {
        return $this->firstHour;
    }

    /**
     * Set webcam
     *
     * @param integer $webcam
     *
     * @return ProfileCategory
     */
    public function setWebcam($webcam)
    {
        $this->webcam = $webcam;

        return $this;
    }

    /**
     * Get webcam
     *
     * @return integer
     */
    public function getWebcam()
    {
        return $this->webcam;
    }

    /**
     * Set primaire
     *
     * @param integer $primaire
     *
     * @return ProfileCategory
     */
    public function setPrimaire($primaire)
    {
        $this->primaire = $primaire;

        return $this;
    }

    /**
     * Get primaire
     *
     * @return integer
     */
    public function getPrimaire()
    {
        return $this->primaire;
    }

    /**
     * Set lycee
     *
     * @param integer $lycee
     *
     * @return ProfileCategory
     */
    public function setLycee($lycee)
    {
        $this->lycee = $lycee;

        return $this;
    }

    /**
     * Get lycee
     *
     * @return integer
     */
    public function getLycee()
    {
        return $this->lycee;
    }

    /**
     * Set college
     *
     * @param integer $college
     *
     * @return ProfileCategory
     */
    public function setCollege($college)
    {
        $this->college = $college;

        return $this;
    }

    /**
     * Get college
     *
     * @return integer
     */
    public function getCollege()
    {
        return $this->college;
    }

    /**
     * Set superieur
     *
     * @param integer $superieur
     *
     * @return ProfileCategory
     */
    public function setSuperieur($superieur)
    {
        $this->superieur = $superieur;

        return $this;
    }

    /**
     * Get superieur
     *
     * @return integer
     */
    public function getSuperieur()
    {
        return $this->superieur;
    }

    /**
     * Set outPlace
     *
     * @param integer $outPlace
     *
     * @return ProfileCategory
     */
    public function setOutPlace($outPlace)
    {
        $this->outPlace = $outPlace;

        return $this;
    }

    /**
     * Get outPlace
     *
     * @return integer
     */
    public function getOutPlace()
    {
        return $this->outPlace;
    }

    /**
     * Set inPlace
     *
     * @param integer $inPlace
     *
     * @return ProfileCategory
     */
    public function setInPlace($inPlace)
    {
        $this->inPlace = $inPlace;

        return $this;
    }

    /**
     * Get inPlace
     *
     * @return integer
     */
    public function getInPlace()
    {
        return $this->inPlace;
    }
}
